(self: PromisableMethods<Right>)
| 97 | } |
| 98 | |
| 99 | async function rightClient(self: PromisableMethods<Right>): Promise<RPCMethods<Left>> { |
| 100 | right.resolve(bindAllFunctions(self)); |
| 101 | return objectMap(await left, (key, fn) => [key, mapRpcFunction(fn)]) as RPCMethods<Left>; |
| 102 | } |
| 103 | |
| 104 | return [leftClient, rightClient]; |
| 105 | } |
nothing calls this directly
no test coverage detected