Interface EventDriverTimers
interface EventDriverTimers
;
Properties
Name | Type | Description |
---|---|---|
userData [set]
|
T | Retrieves a reference to a user-defined value associated with a descriptor. |
Methods
Name | Description |
---|---|
addRef
(descriptor)
|
Increments the reference count of the given resource. |
cancelWait
(timer)
|
|
create
()
|
|
isPending
(timer)
|
|
isPeriodic
(timer)
|
|
isUnique
(descriptor)
|
Determines if the given timer's reference count equals one. |
isValid
(handle)
|
Determines whether the given timer handle is valid. |
releaseRef
(descriptor)
|
Decrements the reference count of the given resource. |
set
(timer, timeout, repeat)
|
Run the timer. |
stop
(timer)
|
|
wait
(timer, callback)
|
Waits for the timer to fire. |
rawUserData
(descriptor, size, initialize, destroy)
|
Low-level user data access. Use userData instead.
|