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:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user