MCPcopy
hub / github.com/cloudflare/capnweb / pipelining-runtime.test.ts

File pipelining-runtime.test.ts

packages/capnweb-validate/__tests__/pipelining-runtime.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from "vitest";
2import { v, validateReturn, type ServiceValidator } from "../src/internal/core.js";
3
4// RpcPromise stand-in: a callable proxy with `.then` (what isRpcPromiseLike keys on); pipelined methods hang off the function.

Callers

nothing calls this directly

Calls 9

describeFunction · 0.85
validateReturnFunction · 0.85
rpcPromiseFunction · 0.85
rejectingRpcPromiseFunction · 0.85
userStubFunction · 0.85
catchMethod · 0.80
finallyMethod · 0.80
resolveMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected