bind rest of notification scheduler methods to class

This commit is contained in:
2025-03-27 09:28:47 -07:00
parent 617f4dc72b
commit 3a85f3da8b

View File

@@ -32,6 +32,10 @@ export class ETANotificationScheduler {
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);
}
/**