Skip to content

eo-typewriterjs


eo-typewriterjs / TCheckpoint

Type Alias: TCheckpoint ​

ts
type TCheckpoint = object;

Defined in: core/player/types/checkpoint.type.ts:16

Description ​

A snapshot of the typewriter state at a specific point in the compiled step list. Used for fast random-access seeking without replaying from the beginning every time.

eventIndex is the index of the first playback step that has NOT yet been applied - i.e. applying steps from eventIndex onwards reproduces any later time.

Deprecated ​

Checkpoints are internal to the playback controller and no API returns them. This type will be removed in the next major version.

Properties ​

PropertyModifierTypeDefined in
timereadonlynumbercore/player/types/checkpoint.type.ts:17
eventIndexreadonlynumbercore/player/types/checkpoint.type.ts:18
statereadonlyTTypewriterStatecore/player/types/checkpoint.type.ts:19

Released under the MIT License.