Callback

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

Constructors

this
this(EventLoop eventLoop, Dg dg, Args args)
Undocumented in source.

Members

Aliases

ResultType
alias ResultType = ReturnType!Dg
Undocumented in source.

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.

opCallImpl
void opCallImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

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.

opCall
void opCall()
Undocumented in source. Be warned that the author may not have intended to support it.
opCallImpl
void opCallImpl()
Undocumented in source.

Meta