Release any resources held by this instance. Default implementations may treat this as a no-op.
Read persisted state for this context.
Promise resolving to state data or null if none persisted
Initialize storage for this state context.
Whether this is the first initialization
Promise that resolves when initialization is complete
Write state for this context.
State data to persist (already carries data.when)
Logical timestamp this value belongs to (duplicates data.when for API consistency)
Promise that resolves when write is complete
Per-context state persistence instance interface. Scoped to a specific (signalId, bucketName) pair.
Used by StatePersistInstance for crash-safe strategy state storage. Custom adapters should implement this interface to override the default file-based state behavior.