mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 23:33:31 +00:00
Deprecated broadcaster (#5461)
This commit is contained in:
@@ -2,8 +2,20 @@ export interface MessageBase {
|
||||
command: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use the observable from the appropriate service instead.
|
||||
*/
|
||||
export abstract class BroadcasterService {
|
||||
/**
|
||||
* @deprecated Use the observable from the appropriate service instead.
|
||||
*/
|
||||
send: (message: MessageBase, id?: string) => void;
|
||||
/**
|
||||
* @deprecated Use the observable from the appropriate service instead.
|
||||
*/
|
||||
subscribe: (id: string, messageCallback: (message: MessageBase) => void) => void;
|
||||
/**
|
||||
* @deprecated Use the observable from the appropriate service instead.
|
||||
*/
|
||||
unsubscribe: (id: string) => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user