BaseFuture

Undocumented in source.

Constructors

this
this(EventLoop eventLoop)
Undocumented in source.

Members

Functions

addDoneCallback
void addDoneCallback(void delegate(FutureHandle) callback)
Undocumented in source. Be warned that the author may not have intended to support it.
cancel
bool cancel()
Undocumented in source. Be warned that the author may not have intended to support it.
cancelled
bool cancelled()
Undocumented in source. Be warned that the author may not have intended to support it.
done
bool done()
Undocumented in source. Be warned that the author may not have intended to support it.
exception
Throwable exception()
Undocumented in source. Be warned that the author may not have intended to support it.
removeDoneCallback
size_t removeDoneCallback(void delegate(FutureHandle) callback)
Undocumented in source. Be warned that the author may not have intended to support it.
setException
void setException(Throwable exception)
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.

Variables

eventLoop
EventLoop eventLoop;
Undocumented in source.

Inherited Members

From FutureHandle

cancel
bool cancel()

Cancel the future and schedule callbacks.

cancelled
bool cancelled()

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

done
bool done()

Return $(D_KEYWORD true) if the future is done.

exception
Throwable exception()
addDoneCallback
void addDoneCallback(void delegate(FutureHandle) callback)

Add a callback to be run when the future becomes done.

removeDoneCallback
size_t removeDoneCallback(void delegate(FutureHandle) callback)

Remove all instances of a callback from the "call when done" list.

setException
void setException(Throwable exception)

Mark the future done and set an exception.

toString
string toString()
Undocumented in source.

Meta