(stub: RpcStub)
| 611 | // This function is agnostic to ownership transfer. Exactly one of `stub` or the return `hook` must |
| 612 | // eventually be disposed. |
| 613 | export function unwrapStubAndPath(stub: RpcStub): {hook: StubHook, pathIfPromise?: PropertyPath} { |
| 614 | return stub[RAW_STUB]; |
| 615 | } |
| 616 | |
| 617 | // Given a promise stub (still wrapped in a Proxy), pull the remote promise and deliver the |
| 618 | // payload. This is a helper used to implement the then/catch/finally methods of RpcPromise. |
no outgoing calls
no test coverage detected
searching dependent graphs…