pipeTo
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
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.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”promise
Section titled “promise”Promise<T>
recipient
Section titled “recipient”options?
Section titled “options?”PipeToOptions = {}
Returns
Section titled “Returns”Promise<T>