astro-ghostcms/.pnpm-store/v3/files/9b/42aa52e731d5233ec4ebdb4fc65...

8 lines
280 B
Plaintext

export type RunFunction = () => Promise<unknown>;
export type Queue<Element, Options> = {
size: number;
filter: (options: Readonly<Partial<Options>>) => Element[];
dequeue: () => Element | undefined;
enqueue: (run: Element, options?: Partial<Options>) => void;
};