MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / createTaskQueue

Function createTaskQueue

packages/cli/src/runner.ts:369–378  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367}
368
369function createTaskQueue(): (task: Task) => void {
370 let chain = Promise.resolve();
371 return (task: Task) => {
372 chain = chain
373 .then(() => task())
374 .catch((error) => {
375 logWatchError(error);
376 });
377 };
378}
379
380async function waitForAbort(
381 watcher: chokidar.FSWatcher,

Callers 1

watchMirrowFunction · 0.85

Calls 1

logWatchErrorFunction · 0.85

Tested by

no test coverage detected