Constructor
new DelayedTick(onTick)
This class wraps a function so that we can defer executing the function by X seconds.
Parameters:
| Name | Type | Description | 
|---|---|---|
| onTick | function | 
- Source:
Members
Methods
stop()
    Cancel any pending calls to |onTick|. If there are no pending calls to
|onTick|, this will be a no-op.
- Source:
tickAfter(delayInSeconds) → {shaka.util.DelayedTick}
    Call |onTick| after |delayInSeconds| has elapsed. If there is already a
pending call to |onTick|, the pending call will be canceled.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| delayInSeconds | number | 
- Source: