MCPcopy Index your code
hub / github.com/thesysdev/openui / node

Function node

packages/lang-core/src/runtime/__tests__/queryManager.test.ts:4–14  ·  view source on GitHub ↗
(statementId: string, refreshInterval = 0)

Source from the content-addressed store, hash-verified

2import { createQueryManager, type QueryNode, type ToolProvider } from "../queryManager";
3
4function node(statementId: string, refreshInterval = 0): QueryNode {
5 return {
6 statementId,
7 toolName: "get_data",
8 args: {},
9 defaults: {},
10 deps: null,
11 refreshInterval,
12 complete: true,
13 };
14}
15
16/** Flush pending microtasks so in-flight fetches settle, without advancing fake timers. */
17async function flushMicrotasks() {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected