Astro+Directus(Visual-Editing)+Snipcart Test-Stack
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
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;
|
||||
setPriority: (id: string, priority: number) => void;
|
||||
};
|
||||
Reference in New Issue
Block a user