MCPcopy Index your code
hub / github.com/OpenPipe/OpenPipe / workerUtils

Function workerUtils

app/src/server/tasks/defineTask.ts:7–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5let workerUtilsPromise: ReturnType<typeof makeWorkerUtils> | null = null;
6
7function workerUtils() {
8 if (!workerUtilsPromise) {
9 workerUtilsPromise = makeWorkerUtils({
10 pgPool,
11 });
12 }
13 return workerUtilsPromise;
14}
15
16function defineTask<TPayload>(options: {
17 id: string;

Callers 2

enqueueFunction · 0.85
defineTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected