add code for in-memory notification repository

This commit is contained in:
2025-03-27 10:19:00 -07:00
parent ead401a3b1
commit f007b72d94
3 changed files with 61 additions and 11 deletions

View File

@@ -16,11 +16,6 @@ export class ETANotificationScheduler {
this.sendEtaNotificationImmediately = this.sendEtaNotificationImmediately.bind(this);
this.etaSubscriberCallback = this.etaSubscriberCallback.bind(this);
this.sendEtaNotificationImmediatelyIfSecondsRemainingBelowThreshold = this.sendEtaNotificationImmediatelyIfSecondsRemainingBelowThreshold.bind(this);
this.scheduleNotification = this.scheduleNotification.bind(this);
this.cancelNotificationIfExists = this.cancelNotificationIfExists.bind(this);
this.isNotificationScheduled = this.isNotificationScheduled.bind(this);
this.getSecondsThresholdForScheduledNotification = this.getSecondsThresholdForScheduledNotification.bind(this);
this.getAllScheduledNotificationsForDevice = this.getAllScheduledNotificationsForDevice.bind(this);
}
/**