asynchronous callback operation which triggers the callback
Optional
val: anyOptional
val: anycancel operation, separate from the trigger operation
Optional
val: anyOptional
val: anyOptional
catchfunc: ((val?: any) => any)Optional
val: anyStatic
allStatic
raceStatic
rejectStatic
resolveGenerated using TypeDoc
a cancellable promise a Promise with a cancel function, which can be cancellend any time this is useful for promises which use cancellable asynchronous operations note, even in a cancel state, the finally of the promise is executed, however subsequent thens are not anymore. The current then however is fished or a catch is called depending on how the outer operation reacts to a cancel order.