1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 23:03:32 +00:00

[PM-19806] Add Special Foreground Notifications Service (#14094)

* Add Special Foreground Notifications Service

* Add link to method
This commit is contained in:
Justin Baur
2025-04-03 08:47:32 -04:00
committed by GitHub
parent bd490e3af9
commit e697f73fd5
4 changed files with 48 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import {
map,
mergeMap,
Observable,
share,
switchMap,
} from "rxjs";
@@ -66,6 +67,7 @@ export class DefaultNotificationsService implements NotificationsServiceAbstract
map((notification) => [notification, activeAccountId] as const),
);
}),
share(), // Multiple subscribers should only create a single connection to the server
);
}