Loop
Extends:
eventemitter2~EventEmitter → Expressive → Loop
a basic polling Loop which rejects actions until the previous action has completed
Static Method Summary
Static Public Methods | ||
public static |
Bubbles async errors into the main process so we can kill this Wyst node if something is awry |
Constructor Summary
Public Constructor | ||
public |
constructor(config: {}) constructor |
Method Summary
Public Methods | ||
public |
kill() kills the Loop |
|
public |
pause(): * stops Polling |
|
public |
start(): * starts Polling |
|
public |
tick() Main polling loop handler |
|
public |
toggleBlocked(): * Toggles if we should block on the next polling cycle |
|
public |
togglePaused(): * determines if we are paused or polling |
Inherited Summary
From class Expressive | ||
public static |
create(): * creates a new inherited instance |
|
public |
debug: * |
|
public |
expressive emit |
|
public |
when(): * expressive once |
Static Public Methods
Public Constructors
public constructor(config: {}) source
constructor
Override:
Expressive#constructorParams:
Name | Type | Attribute | Description |
config | {} |
|