View Source Spooks.Checkpoint.SpookCheckpoints (Spooks Agentic Workflow Engine v0.1.0)

Summary

Functions

Gets the checkpoint for the given context. Returns nil if there is no checkpoint.

After retrieving a checkpoint from the database we must convert its data back into a struct.

After retrieving a checkpoint from the database we must convert its data back into a struct.

Checks if there is a checkpoint for the given context.

Removes the checkpoint for the given context.

Saves a checkpoint for the given context and event.

Functions

get_checkpoint(workflow_context)

Gets the checkpoint for the given context. Returns nil if there is no checkpoint.

get_checkpoint_event(checkpoint)

After retrieving a checkpoint from the database we must convert its data back into a struct.

get_workflow_context(checkpoint)

After retrieving a checkpoint from the database we must convert its data back into a struct.

has_checkpoint?(workflow_context)

Checks if there is a checkpoint for the given context.

remove_checkpoint(workflow_context)

Removes the checkpoint for the given context.

save_checkpoint(workflow_context, event)

Saves a checkpoint for the given context and event.