跳转到内容
简体中文

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>