Get a value by key
Storage key
Value or undefined if not found
Set a value with optional TTL
Storage key
Value to store
Optionalttl: number
Time to live in seconds (optional)
Delete a value by key
Storage key
Check if a key exists
Storage key
OptionalclearClear all stored values (optional)
OptionalkeysGet all keys (optional, for debugging)
OptionalsizeGet storage size/count (optional, for monitoring)
Atomically create a value only when the key is absent or expired.
Optionalttl: numberAtomically replace only the exact record generation currently stored.
Optionalttl: numberAtomically return and remove only the exact record generation currently stored.
Atomically create a committed continuation and its operation route. The route is the crash-recovery source of truth when the owning coordinator has not yet recorded the opaque token.
Optionalttl: numberAtomically resolve the current committed continuation generation.
Atomically replace the exact routed generation. With a distinct replacement key this installs a nested generation and moves the route, retaining the predecessor as a dispatch fence. Removing that predecessor MUST NOT remove a route that already points at the replacement. With the same key it performs an in-place route-fenced state transition (for example, terminal callback checkpointing).
Optionalttl: number
Durable deferred-task storage must generation-fence claim and cleanup. Implementations MUST round-trip every
DeferredTaskStatefield opaquely; dropping an unknown route-kind or ownership field can strand an in-flight mutation during a rolling SDK deployment.