Cancel the futurable if it is to be executed or if it is still executing.
Waits for timer, then executes callback with the futurable value and returns the result obtained from the invocation.
Waits for timer, then executes callback with the futurable value and returns the result obtained from the invocation.
callback executed after timer
timer to wait (in milliseconds)
Extension of the fetch API with cancellation support. Url parameter can be a string or a function with receive value from futurable chaining as paremeter.
url to fetch
fetch options
Takes a promise and transforms it into a futurizable. Promise can be also a function that receives value from futurable chaining as parameter.
Promise to futurize
Executes the callback passed as a parameter when the futurable is cancelled.
Executes the callback passed as a parameter when the futurable is cancelled.
callback
Internal futurable signal
Waits for timer parameter (in milliseconds) before returning the value.
Waits for timer parameter (in milliseconds) before returning the value.
timer to wait (in milliseconds)
Cancel the futurable if it is to be executed or if it is still executing.