Read all persisted notifications by iterating storage keys.
Promise resolving to array of notification entries
Initialize storage for this mode.
Whether this is the first initialization
Promise that resolves when initialization is complete
Write notifications to storage. Each notification is keyed by its id.
Notification entries to persist
Promise that resolves when all writes are complete
Per-context notification persistence instance interface. Scoped to either backtest or live mode (one instance per mode).
Each notification is keyed by its id and the read operation iterates over all stored notifications.
Custom adapters should implement this interface to override the default file-based notification storage behavior.