fix(cycles): split embedded runner and setup leaf types

This commit is contained in:
Vincent Koc
2026-04-11 14:49:07 +01:00
parent 24a5ba732f
commit b9a0052dd0
7 changed files with 159 additions and 142 deletions

View File

@@ -0,0 +1,7 @@
export type CommandQueueEnqueueFn = <T>(
task: () => Promise<T>,
opts?: {
warnAfterMs?: number;
onWait?: (waitMs: number, queuedAhead: number) => void;
},
) => Promise<T>;