Interface EventDriverWatchers
interface EventDriverWatchers
;
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. |
isValid
(handle)
|
Determines whether the given watcher handle is valid. |
releaseRef
(descriptor)
|
Decrements the reference count of the given resource. |
watchDirectory
(path, recursive, callback)
|
Watches a directory or a directory sub tree for changes. |
rawUserData
(descriptor, size, initialize, destroy)
|
Low-level user data access. Use userData instead.
|