FutureHandle.cancel

Cancel the future and schedule callbacks.

If the future is already done or cancelled, return $(D_KEYWORD false). Otherwise, change the future's state to cancelled, schedule the callbacks and return $(D_KEYWORD true).

interface FutureHandle
bool
cancel
()

Meta