useGoForwardCallback
The useGoForwardCallback hook returns a callback function that, when called, moves the Checkpoints object forward to the next checkpoint.
useGoForwardCallback(checkpointsOrCheckpointsId?: MaybeGetter<undefined | CheckpointsOrCheckpointsId>): () => void| Type | Description | |
|---|---|---|
checkpointsOrCheckpointsId? | MaybeGetter<undefined | CheckpointsOrCheckpointsId> | The |
| returns | () => void | A callback function. |
Since
v8.1.0