@mondaydotcomorg/atp-compiler
Version:
Production-ready compiler for transforming async iteration patterns into resumable operations with checkpoint-based state management
21 lines • 861 B
JavaScript
export * from './errors.js';
export * from './context.js';
export * from './checkpoint-manager.js';
export * from './resumable-loops.js';
export * from './resumable-arrays.js';
export * from './resumable-parallel.js';
export * from './batch-parallel.js';
export * from './runtime-functions.js';
import { CheckpointManager, setCheckpointManager } from './checkpoint-manager.js';
import { setRuntimeContext } from './context.js';
export function initializeRuntime(options) {
const checkpointManager = new CheckpointManager(options.executionId, options.cache, options.checkpointPrefix);
setCheckpointManager(checkpointManager);
setRuntimeContext({
executionId: options.executionId,
cache: options.cache,
checkpointPrefix: options.checkpointPrefix,
});
}
export function cleanupRuntime() { }
//# sourceMappingURL=index.js.map