EventLoop.callLater

Arrange for the callback to be called after the given delay.

An instance of $(D_PSYMBOL Callback) is returned.

$(D_PSYMBOL dg) delegate will be called exactly once per call to $(D_PSYMBOL callLater()). If two callbacks are scheduled for exactly the same time, it is undefined which will be called first.

The optional positional args will be passed to the callback when it is called.

class EventLoop
final
callLater
(
Dg
Args...
)
(
Duration delay
,
Dg dg
,
Args args
)

Meta