Skip to content
English

ActorFactory

ActorFactory<TMessage> = () => Actor<TMessage>

Defined in: src/Actor.ts:200

Builds a fresh actor instance. A factory, not an instance, because the runtime rebuilds the actor on every restart — handing over one instance would resurrect the broken state the crash was supposed to discard.

TMessage

Actor<TMessage>