How many milliseconds the repetition should run for.
The action to perform for every update that the repeat is active.
The action to perform for every update that the repeat is active.
The action to perform for every update that the repeat is active.
This event fires when the Repeat finishes.
Signifies whether the Repeat has stopped.
How many milliseconds the repetition should run for.
Provides a way of identifying repeats so they can be easily retrieved later.
Returns the name of this type. This can be used rather than instanceof which is sometimes unreliable.
Provides a way for setting the ref through a chained function call. For example:
clock.addChild(Repeat.forMs(100, console.log('Hello!')).withRef('repeat'));
The calling object.
The ref to set on the object.
Generated using TypeDoc
The MsRepeat defines some action which should be performed on every update cycle for some amount of time, measured in milliseconds.