콘텐츠로 이동
한국어

BehaviorInterceptorTarget

이 콘텐츠는 아직 번역되지 않았습니다.

BehaviorInterceptorTarget<T> = (context, message) => Behavior<T>

Defined in: src/typed/Behavior.ts:70

Hands a message on to the behavior an interceptor wraps, and answers what that behavior returned. Calling it is the delegation; not calling it short-circuits, and the wrapped behavior never sees the message.

Both arguments are the interceptor’s to choose: pass a different message to transform it on the way in, or a decorated context to change what the inner handler sees. Passing them through unchanged is the plain “observe, then delegate” case.

T

TypedActorContext<T>

T

Behavior<T>