(type: MessageType, data: any, key?: string)
| 21 | } |
| 22 | |
| 23 | emit(type: MessageType, data: any, key?: string) { |
| 24 | this.messageBridge.emit(type, { success: true, data }, key); |
| 25 | } |
| 26 | |
| 27 | on(type: MessageType, callback: (data: IResponse<any>) => void, key: string) { |
| 28 | this.messageBridge.on(type, callback, key); |
no test coverage detected