Creates new interval marker persistence instance.
Marker bucket identifier
Iterates all markers in the bucket, yielding keys of non-removed markers only.
AsyncGenerator yielding marker keys
Reads an interval marker by key. Returns null if marker is missing or soft-deleted.
Marker key within the bucket
Promise resolving to stored data, or null
Soft-deletes a marker by writing removed: true flag while preserving the file.
Subsequent reads will return null, allowing the interval to fire again.
Marker key within the bucket
Promise that resolves when removal is complete
Initializes the underlying PersistBase storage.
Whether this is the first initialization
Promise that resolves when initialization is complete
Writes an interval marker under the given key.
Data to store
Marker key within the bucket
Promise that resolves when write is complete
Default file-based implementation of IPersistIntervalInstance.
Features:
removed: trueflagExample