Documentation / @andrew_l/app / IntervalStrategy
Class: IntervalStrategy ​
Triggers a worker task on a fixed interval. Skips the tick with a warning if the worker is not idle.
Implements ​
Constructors ​
Constructor ​
new IntervalStrategy(
options):IntervalStrategy
Parameters ​
options ​
Returns ​
IntervalStrategy
Methods ​
createTask() ​
createTask():
Context
Returns ​
Implementation of ​
doSetup() ​
doSetup(
__namedParameters):void
Parameters ​
__namedParameters ​
worker ​
Returns ​
void
Implementation of ​
doShutdown() ​
doShutdown():
void
Returns ​
void
Implementation of ​
startSignal() ​
startSignal():
void
Returns ​
void
Implementation of ​
stopSignal() ​
stopSignal(
done):void
Parameters ​
done ​
() => void
Returns ​
void