MCPcopy Create free account
hub / github.com/cloudflare/computer / message

Function message

packages/computer/src/runtime/bridge.test.ts:26–28  ·  view source on GitHub ↗
(response: Promise<string>)

Source from the content-addressed store, hash-verified

24}
25
26async function message(response: Promise<string>) {
27 return (JSON.parse(await response) as { error?: { message?: string } }).error?.message;
28}
29
30describe("WorkspaceRuntimeBridge cumulative limits", () => {
31 it("accepts the configured call count and rejects the next call", async () => {

Callers 1

bridge.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected