ActorFactory
Ce contenu n’est pas encore disponible dans votre langue.
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.
Type Parameters
Section titled “Type Parameters”TMessage
Section titled “TMessage”TMessage
Returns
Section titled “Returns”Actor<TMessage>
