Behavior
Behavior<
T> =ReceiveBehavior<T> |SetupBehavior<T> |WithTimersBehavior<T> |WithStashBehavior<T> |SuperviseBehavior<T> |SameBehavior|StoppedBehavior|UnhandledBehavior|EmptyBehavior|IgnoreBehavior
Defined in: src/typed/Behavior.ts:19
A Behavior describes how to handle the next message (and optionally lifecycle signals). Behaviors are values, not classes — the runtime interprets the discriminant and calls back into user code.
Type Parameters
Section titled “Type Parameters”T