Creates supply that will be cut off upon given promise fulfillment.
promise
If the given promise resolves, the supply will be completed successfully with resolved value.
If the given promise rejects, the supply will be terminated faultily with rejection reason.
Target promise.
Optional
Optional supply receiver.
Sending side of created supply.
Generated using TypeDoc
Creates supply that will be cut off upon given
promise
fulfillment.If the given
promise
resolves, the supply will be completed successfully with resolved value.If the given
promise
rejects, the supply will be terminated faultily with rejection reason.