Queueable
Direct Subclass:
Example:
// queue = new Queue();
Constructor Summary
Public Constructor | ||
public |
Constructor, Sets our status to be false (flipped on init) |
Method Summary
Public Methods | ||
public |
finished(pid: *, mode: *) Call this method after you command has finished. |
|
public |
init(queue: *) init, override this for any promise based inits setting the self.ready=true after the promise |
|
public |
set(pid: *, value: *) |
|
public |
start(pid: *, command: *, json: *) Called from queue, starts running the actual command |
Public Constructors
Public Methods
public finished(pid: *, mode: *) source
Call this method after you command has finished. Failure to do so will result is a stalled queue
Params:
Name | Type | Attribute | Description |
pid | * | ||
mode | * |
public init(queue: *) source
init, override this for any promise based inits setting the self.ready=true after the promise
Params:
Name | Type | Attribute | Description |
queue | * |
public set(pid: *, value: *) source
Params:
Name | Type | Attribute | Description |
pid | * | ||
value | * |
public start(pid: *, command: *, json: *) source
Called from queue, starts running the actual command
Params:
Name | Type | Attribute | Description |
pid | * | ||
command | * | ||
json | * |