|
|
|
@ -2,8 +2,20 @@ export interface MessageBase { |
|
|
|
command: string; |
|
|
|
command: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated Use the observable from the appropriate service instead. |
|
|
|
|
|
|
|
*/ |
|
|
|
export abstract class BroadcasterService { |
|
|
|
export abstract class BroadcasterService { |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated Use the observable from the appropriate service instead. |
|
|
|
|
|
|
|
*/ |
|
|
|
send: (message: MessageBase, id?: string) => void; |
|
|
|
send: (message: MessageBase, id?: string) => void; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated Use the observable from the appropriate service instead. |
|
|
|
|
|
|
|
*/ |
|
|
|
subscribe: (id: string, messageCallback: (message: MessageBase) => void) => void; |
|
|
|
subscribe: (id: string, messageCallback: (message: MessageBase) => void) => void; |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* @deprecated Use the observable from the appropriate service instead. |
|
|
|
|
|
|
|
*/ |
|
|
|
unsubscribe: (id: string) => void; |
|
|
|
unsubscribe: (id: string) => void; |
|
|
|
} |
|
|
|
} |
|
|
|
|