ExpiryRegistrationBase.ITimeoutManagerInternal

Enables access of TimeoutManager internals.

Members

Functions

drop
void drop(IExpiryRegistration registration)

Unregisters the specified expiry. If the expiry is present in the list of expired registrations being currently iterated over by checkTimeouts, then it will be removed (its timeout method will not be called). (This means that drop can be called from timeout callbacks, unlike unregister.)

now
ulong now()
register
Expiry* register(IExpiryRegistration registration, ulong timeout_us)

Registers registration and sets the timeout.

unregister
void unregister(Expiry expiry)

Unregisters IExpiryRegistration instance corresponding to expiry.

Meta