(path: PropertyPath, args: RpcPayload)
| 324 | // implements StubHook |
| 325 | |
| 326 | call(path: PropertyPath, args: RpcPayload): StubHook { |
| 327 | let entry = this.getEntry(); |
| 328 | if (entry.resolution) { |
| 329 | return entry.resolution.call(path, args); |
| 330 | } else { |
| 331 | return entry.session.sendCall(entry.importId, path, args); |
| 332 | } |
| 333 | } |
| 334 | |
| 335 | stream(path: PropertyPath, args: RpcPayload): {promise: Promise<void>, size?: number} { |
| 336 | let entry = this.getEntry(); |
no test coverage detected