(action: string, params?: any)
| 40 | } |
| 41 | |
| 42 | async doThrow<T = any>(action: string, params?: any): Promise<T> { |
| 43 | const ret = await sendMessage<T>(this.msgSender, `${this.prefix}${action}`, params); |
| 44 | if (!ret) { |
| 45 | throw new Error(`doThrow: ${this.prefix}${action}`); |
| 46 | } |
| 47 | return ret; |
| 48 | } |
| 49 | } |
no outgoing calls
no test coverage detected