EveSessionDriver.registerDeadline

Token registerDeadline(Duration delay, void delegate() onDeadline)

Registers a one-shot deadline.

The callback runs on the loop thread when the delay expires and is followed by a coalesced session pump.

Parameters

delayMonotonic delay.
onDeadlineCallback to run.

Returns

A token for cancelDeadline.