Files
openclaw/src/gateway/server-cron-contract.ts
2026-07-10 13:20:45 -07:00

12 lines
540 B
TypeScript

// Gateway cron contracts stay separate from the runtime so shared request
// types do not pull scheduler implementation dependencies into their graph.
import type { CronServiceContract } from "../cron/service-contract.js";
export type GatewayCronServiceContract = CronServiceContract & {
/** Temporarily disarm ticks without running startup recovery on resume. */
pauseScheduling(): void;
resumeScheduling(): void;
/** Scheduler-owned work not represented by active cron run markers. */
getSuspensionBlockerCount?(): number;
};