MCPcopy
hub / github.com/midrender/revideo / endThread

Function endThread

packages/core/src/utils/useThread.ts:26–30  ·  view source on GitHub ↗
(thread: Thread)

Source from the content-addressed store, hash-verified

24}
25
26export function endThread(thread: Thread) {
27 if (ThreadStack.pop() !== thread) {
28 throw new Error('startThread/endThread was called out of order.');
29 }
30}

Callers 1

nextMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected