Implements IPersistNotificationInstance
Default file-based implementation of IPersistNotificationInstance.
Features:
constructor(backtest: boolean);
backtest: boolean
_storage: any
Underlying file-based storage for this mode
waitForInit(initial: boolean): Promise<void>;
Initializes the underlying PersistBase storage.
readNotificationData(): Promise<NotificationData>;
Reads all persisted notifications by iterating storage keys.
writeNotificationData(notifications: NotificationData): Promise<void>;
Writes each notification as a separate entity keyed by notification.id.