openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
7 lines (6 loc) • 513 B
TypeScript
import type { FollowupRun } from "./types.js";
export declare function rememberFollowupDrainCallback(key: string, runFollowup: (run: FollowupRun) => Promise<void>): void;
export declare function clearFollowupDrainCallback(key: string): void;
/** Restart the drain for `key` if it is currently idle, using the stored callback. */
export declare function kickFollowupDrainIfIdle(key: string): void;
export declare function scheduleFollowupDrain(key: string, runFollowup: (run: FollowupRun) => Promise<void>): void;