MCPcopy
hub / github.com/cloudflare/capnweb / TestDo

Interface TestDo

__tests__/workerd.test.ts:232–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232interface TestDo extends DurableObject {
233 setValue(val: any): void;
234 getValue(): any;
235 callCounter(callback: { increment(): Promise<number> }): Promise<number>;
236
237 subscribe(callback: (s: string) => void): void;
238 notify(value: string): void;
239}
240
241interface WorkerdTestTarget extends TestTarget {
242 getDurableObject(name: string): DurableObjectStub<TestDo>;

Callers 14

workerd.test.tsFile · 0.65
callFunction · 0.65
mapFunction · 0.65
getFunction · 0.65
index.test.tsFile · 0.65
useDisposableTargetMethod · 0.65
workerd.test.tsFile · 0.65
connectFunction · 0.65
connectNestedFunction · 0.65

Implementers 1

TestDo__tests__/test-server-workerd.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…