MCPcopy Create free account
hub / github.com/cedriking/spark /

Class

src/task-queue.ts:3–3  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1type Task<T = void> = () => Promise<T>;
2
3export default class TaskQueue {
4 private tasks: Task[] = [];
5 private running: Promise<void> | undefined;
6 private intervals: NodeJS.Timer[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected