move to pkg

This commit is contained in:
2023-06-08 12:45:23 +02:00
parent 2b80109e3b
commit 81ccb95d82
256 changed files with 4856 additions and 529 deletions

8
packages/system/dist/WorkQueue.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
export interface WorkQueueItem {
next: () => Promise<unknown>;
resolve(v: unknown): void;
reject(e: unknown): void;
}
export declare function processWorkQueue(queue?: Array<WorkQueueItem>, queueDelay?: number): Promise<void>;
export declare const barrierQueue: <T>(queue: Array<WorkQueueItem>, then: () => Promise<T>) => Promise<T>;
//# sourceMappingURL=WorkQueue.d.ts.map