Methods
-
adjust(pid)
-
change a cycle length
Parameters:
Name |
Type |
Description |
pid |
string
|
|
-
breakIn(pid)
-
executes the timeout for pid now
Parameters:
Name |
Type |
Description |
pid |
string
|
|
-
cycle(pid [, val])
-
gets/sets a cycle length
Parameters:
Name |
Type |
Argument |
Description |
pid |
string
|
|
|
val |
number
|
<optional>
|
|
-
start(pid, val)
-
sets a cycle to this process id
Parameters:
Name |
Type |
Description |
pid |
string
|
|
val |
number
|
|
-
stop(pid)
-
stops a pid cycle now
Parameters:
Name |
Type |
Description |
pid |
string
|
|
-
timeout(pid, cb)
-
starts a timeout for a callback function
Parameters:
Name |
Type |
Description |
pid |
string
|
|
cb |
function
|
|