mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-07 07:58:36 +00:00
8 lines
186 B
TypeScript
8 lines
186 B
TypeScript
export type CommandQueueEnqueueFn = <T>(
|
|
task: () => Promise<T>,
|
|
opts?: {
|
|
warnAfterMs?: number;
|
|
onWait?: (waitMs: number, queuedAhead: number) => void;
|
|
},
|
|
) => Promise<T>;
|