add connect/disconnect methods

This commit is contained in:
2025-03-31 19:37:19 -07:00
parent c98367f12e
commit cc6623404c

View File

@@ -21,6 +21,14 @@ class RedisNotificationRepository implements NotificationRepository {
this.unsubscribeFromNotificationChanges = this.unsubscribeFromNotificationChanges.bind(this);
}
public async connect() {
await this.redisClient.connect();
}
public async disconnect() {
await this.redisClient.disconnect();
}
public async addOrUpdateNotification(notification: ScheduledNotification): Promise<void> {
}