Checkpoint
Source:
src/Fly/Checkpoint.ts
Checkpoint and restore a Sprite filesystem.
Create a checkpoint
Section titled “Create a checkpoint”Bind the client in init. Provide CheckpointHttp.
const checkpoint = yield* Fly.Checkpoint(Box);yield* checkpoint.create({ comment: "before deploy" });Restore
Section titled “Restore”Restore rewinds the filesystem. Running processes stop.
yield* checkpoint.restore("v1");