TimerSet.schedule

Registers a new event with the scheduler.

class TimerSet(EventData)
schedule
out (event) { assert (event !is null); }

Parameters

setup_dg EventSetupDg

delegate called to initialise event's associated data

fired_dg EventFiredDg

delegate called when event fires

schedule_us ulong

(minimum) microseconds before event will fire

Return Value

Type: IEvent

the newly scheduled event

Throws

The pool throws a LimitExceededException if the event pool is full and the new event cannot be scheduled.

Meta