MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / enqueueDebug

Function enqueueDebug

packages/node/src/backend/nodeBackend/debugChannel.ts:50–60  ·  view source on GitHub ↗
(
  state: NodeBackendDebugChannelState,
  fn: () => Promise<T>,
)

Source from the content-addressed store, hash-verified

48}
49
50export function enqueueDebug<T>(
51 state: NodeBackendDebugChannelState,
52 fn: () => Promise<T>,
53): Promise<T> {
54 const p = state.debugChain.then(fn, fn);
55 state.debugChain = p.then(
56 () => undefined,
57 () => undefined,
58 );
59 return p;
60}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected