@atomist/sdm-core
Version:
Atomist Software Delivery Machine - Implementation
11 lines • 716 B
TypeScript
import { HandlerContext } from "@atomist/automation-client";
import { SoftwareDeliveryMachine, TriggeredListener } from "@atomist/sdm";
import { GoalStateOptions } from "./goalState";
/**
* TriggeredListener that queries pending goal sets and updates their state according to state of
* goals
*/
export declare function manageGoalSetsTrigger(options?: GoalStateOptions["cancellation"]): TriggeredListener;
export declare function manageGoalSets(sdm: SoftwareDeliveryMachine, ctx: HandlerContext): Promise<void>;
export declare function timeoutInProcessGoals(sdm: SoftwareDeliveryMachine, ctx: HandlerContext, options?: GoalStateOptions["cancellation"]): Promise<void>;
//# sourceMappingURL=manageGoalSets.d.ts.map