- addRef
void addRef(TimerID descriptor)
Undocumented in source. Be warned that the author may not have intended to support it.
- cancelWait
void cancelWait(TimerID timer)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
TimerID create()
Undocumented in source. Be warned that the author may not have intended to support it.
- isPending
bool isPending(TimerID timer)
Undocumented in source. Be warned that the author may not have intended to support it.
- isPeriodic
bool isPeriodic(TimerID timer)
Undocumented in source. Be warned that the author may not have intended to support it.
- isUnique
bool isUnique(TimerID descriptor)
Undocumented in source. Be warned that the author may not have intended to support it.
- releaseRef
bool releaseRef(TimerID descriptor)
Undocumented in source. Be warned that the author may not have intended to support it.
- set
void set(TimerID timer, Duration timeout, Duration repeat)
Undocumented in source. Be warned that the author may not have intended to support it.
- stop
void stop(TimerID timer)
Undocumented in source. Be warned that the author may not have intended to support it.
- wait
void wait(TimerID timer, TimerCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
- create
TimerID create()
Undocumented in source.
- set
void set(TimerID timer, Duration timeout, Duration repeat)
- stop
void stop(TimerID timer)
Undocumented in source.
- isPending
bool isPending(TimerID timer)
Undocumented in source.
- isPeriodic
bool isPeriodic(TimerID timer)
Undocumented in source.
- wait
void wait(TimerID timer, TimerCallback callback)
void wait(TimerID timer, TimerCallback2 callback)
Waits for the timer to fire.
- cancelWait
void cancelWait(TimerID timer)
Undocumented in source.
- isValid
bool isValid(TimerID handle)
Determines whether the given timer handle is valid.
- addRef
void addRef(TimerID descriptor)
Increments the reference count of the given resource.
- releaseRef
bool releaseRef(TimerID descriptor)
Decrements the reference count of the given resource.
- isUnique
bool isUnique(TimerID descriptor)
Determines if the given timer's reference count equals one.
- userData
TimerID userData [@property setter]
Retrieves a reference to a user-defined value associated with a descriptor.
- rawUserData
void* rawUserData(TimerID descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Low-level user data access. Use userData instead.