MCPcopy Create free account
hub / github.com/callstack/agent-device / responseLine

Function responseLine

src/__tests__/daemon-client-progress.test.ts:93–98  ·  view source on GitHub ↗
(data: Record<string, unknown>)

Source from the content-addressed store, hash-verified

91}
92
93function responseLine(data: Record<string, unknown>): string {
94 return JSON.stringify({
95 type: 'response',
96 response: { ok: true, data },
97 });
98}
99
100function replayTestEvent(event: RequestProgressEvent | undefined): ReplayTestProgressEvent {
101 assert.equal(event?.type, 'replay-test');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…