BehaviorInterceptor
BehaviorInterceptor<
T> = (context,message,next) =>Behavior<T>
Defined in: src/typed/Behavior.ts:84
Runs on every message before the wrapped behavior does. Whatever it returns
becomes the wrapped behavior’s next behavior — the interceptor itself stays
installed across that transition, so next(...)’s result can simply be
returned as-is.
T → T only: an interceptor observes, transforms, or drops messages, it
does not change the actor’s message type.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”context
Section titled “context”message
Section titled “message”T
Returns
Section titled “Returns”Behavior<T>
