Creates new notification persistence instance.
True for backtest mode storage, false for live mode
Reads all persisted notifications by iterating storage keys.
Promise resolving to array of notification entries
Initializes the underlying PersistBase storage.
Whether this is the first initialization
Promise that resolves when initialization is complete
Writes each notification as a separate entity keyed by notification.id.
Notification entries to persist
Promise that resolves when all writes are complete
Default file-based implementation of IPersistNotificationInstance.
Features:
Example