콘텐츠로 이동
한국어

pipeTo

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

pipeTo<T>(promise, recipient, options?): Promise<T>

Defined in: src/pattern/pipeTo.ts:22

Route the eventual result of promise into an actor’s mailbox. On fulfilment the value (or Success<T>) lands as a message. On rejection Failure(error) is delivered so the actor can react.

Returns the same promise so callers can chain further logic if needed.

T

Promise<T>

ActorRef

PipeToOptions = {}

Promise<T>