The metronome used to count how many beats have passed.
How many beats 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.
How many beats the repetition should run for.
This event fires when the Repeat finishes.
Signifies whether the Repeat has stopped.
The metronome used to count how many beats have passed.
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 beats.