UNPKG

@mondaydotcomorg/atp-compiler

Version:

Production-ready compiler for transforming async iteration patterns into resumable operations with checkpoint-based state management

4 lines 551 B
export declare function resumableForOf<T>(items: T[], callback: (item: T, index: number) => Promise<void>, loopId: string): Promise<void>; export declare function resumableWhile(conditionFn: () => boolean | Promise<boolean>, bodyFn: (iteration: number) => Promise<void>, loopId: string): Promise<void>; export declare function resumableForLoop(initValue: number, conditionFn: (i: number) => boolean, incrementFn: (i: number) => number, bodyFn: (i: number) => Promise<void>, loopId: string): Promise<void>; //# sourceMappingURL=resumable-loops.d.ts.map