waygraph / checkpoint
Function: checkpoint()
checkpoint<
Tag>(tag):Checkpoint<Tag>
Defined in: src/engine/checkpoint/checkpoint.ts:13
Builds a Checkpoint - spells __state for you so no call site does it by hand.
Type Parameters
Tag
Tag extends string
Parameters
tag
Tag
Returns
Checkpoint<Tag>
Example
ts
resolve: () => checkpoint("InventoryPage")