MCPcopy Create free account
hub / github.com/anomalyco/opencode / nextTick

Function nextTick

packages/opencode/test/cli/tui/editor-context.test.tsx:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18})
19
20function nextTick() {
21 return new Promise<void>((resolve) => queueMicrotask(resolve))
22}
23
24function mountEditorContext(WebSocketImpl?: typeof WebSocket) {
25 let editor!: ReturnType<typeof useEditorContext>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected