Supply result type.
Registers a receiver of this supply.
Once this supply cut off, the receiver
will be informed
on that, unless it is unavailable already.
Does nothing if the given receiver
is unavailable already.
Supply receiver to register.
this
instance.
Creates derived supply depending on this one.
Optional
derived: undefinedNew derived supply instance.
Makes supply receiver depend on this supply.
In contrast to alsoOff method, this one returns derived supply receiver.
Type of supply receiver.
Derived supply receiver to make dependent on this supply.
Derived supply receiver.
Creates derived supply depending on this supply.
If derived supply receiver specified, makes it depend on this supply.
In contrast to alsoOff method, this one returns derived supply receiver.
Type of supply receiver.
Optional derived supply receiver to make dependent on this supply.
Derived supply receiver.
Builds a promise that will be resolved once this supply is done. This callback will be called immediately if supply is cut off already.
A promise that will be successfully resolved once this supply completes * successfully, or rejected with failure reason.
Registers a supply receiver function that will be called as soon as this supply cut off.
Calling this method is the same as calling this.alsoOff(SupplyReceiver(receiver))
Supply receiver function accepting cut off indicator as its only parameter.
this
instance.
Generated using TypeDoc
Sending side of supply.
It informs on supply cut off.