mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 04:11:36 +00:00
12 lines
540 B
TypeScript
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;
|
|
};
|