Check if entity exists in storage.
Unique entity identifier
Promise resolving to true if exists, false otherwise
Async generator yielding all entity IDs. Sorted alphanumerically. Used for iteration and validation.
AsyncGenerator yielding entity IDs
Initialize persistence directory and validate existing files. Uses singleshot to ensure one-time execution.
Whether this is the first initialization
Promise that resolves when initialization is complete
Persistence interface for custom adapters. Defines only the essential CRUD operations required for persistence. Custom adapters should implement this interface.
Architecture: