Callback

A callback wrapper object returned by $(D_PSYMBOL EventLoop.callSoon), $(D_PSYMBOL EventLoop.callSoonThreadSafe), $(D_PSYMBOL EventLoop.callLater), and $(D_PSYMBOL EventLoop.callAt).

class Callback : CallbackHandle (
Dg
Args...
) if (
isDelegate!Dg
) {}

Members

Functions

cancel
void cancel()

Cancel the call. If the callback is already cancelled or executed, this method has no effect.

cancelled
bool cancelled()

Return $(D_KEYWORD true) if the callback was cancelled.

Inherited Members

From CallbackHandle

cancel
void cancel()

Cancel the call. If the callback is already cancelled or executed, this method has no effect.

cancelled
bool cancelled()

Return $(D_KEYWORD true) if the callback was cancelled.

Meta