UNPKG

@integromat/proto

Version:
17 lines 584 B
import { IMTBase, ModuleType } from './base'; import { Bundle, DoneWithInfoCallback } from './types'; /** * Base class for all Human-in-the-loop modules. */ export declare class IMTHITL extends IMTBase { readonly type = ModuleType.HITL; /** * Executes the HITL flow. * * @param {Object} bundle Collection of data to process. * @callback done Callback to call when operations are done. * @param {Error} err Error on error, otherwise null. */ execute(bundle: Bundle, done: DoneWithInfoCallback): void; } //# sourceMappingURL=hitl.d.ts.map