Skip to content

Props

Defined in: src/Props.ts:26

Immutable configuration describing how to create an actor. Use Props.create(() => new MyActor(...)) and chain with… for additional configuration.

TMsg = unknown

new Props<TMsg>(config): Props<TMsg>

Defined in: src/Props.ts:27

PropsConfig<TMsg>

Props<TMsg>

readonly config: PropsConfig<TMsg>

Defined in: src/Props.ts:27

withDispatcher(dispatcher): Props<TMsg>

Defined in: src/Props.ts:37

Dispatcher

Props<TMsg>


withMailbox(factory): Props<TMsg>

Defined in: src/Props.ts:45

MailboxFactory<TMsg>

Props<TMsg>


withMailboxCapacity(capacity): Props<TMsg>

Defined in: src/Props.ts:41

number

Props<TMsg>


withSupervisorStrategy(strategy): Props<TMsg>

Defined in: src/Props.ts:33

SupervisorStrategy

Props<TMsg>


static create<TMsg>(factory): Props<TMsg>

Defined in: src/Props.ts:29

TMsg

ActorFactory<TMsg>

Props<TMsg>