MCPcopy Create free account
hub / github.com/arctic-cli/interface / workerFactory

Function workerFactory

packages/ui/src/pierre/worker.ts:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import ShikiWorkerUrl from "@pierre/precision-diffs/worker/worker.js?worker&url"
3
4export function workerFactory(): Worker {
5 return new Worker(ShikiWorkerUrl, { type: "module" })
6}
7
8export const workerPool = getOrCreateWorkerPoolSingleton({
9 poolOptions: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected