1 | import { OnEvent } from "@atomist/automation-client/lib/onEvent";
|
2 | import { OnAnySdmGoalSet } from "../../../typings/types";
|
3 | import { SoftwareDeliveryMachine } from "../../machine/SoftwareDeliveryMachine";
|
4 | import { SoftwareDeliveryMachineConfiguration } from "../../machine/SoftwareDeliveryMachineOptions";
|
5 | import { Goal, GoalDefinition } from "../Goal";
|
6 | import { FulfillableGoal, FulfillableGoalDetails } from "../GoalWithFulfillment";
|
7 |
|
8 |
|
9 |
|
10 | export interface QueueOptions {
|
11 | concurrent?: number;
|
12 | fetch?: number;
|
13 | }
|
14 | export declare const DefaultQueueOptions: QueueOptions;
|
15 |
|
16 |
|
17 |
|
18 | export declare class Queue extends FulfillableGoal {
|
19 | private readonly options;
|
20 | constructor(options?: FulfillableGoalDetails & QueueOptions, ...dependsOn: Goal[]);
|
21 | register(sdm: SoftwareDeliveryMachine): void;
|
22 | }
|
23 | export declare function handleSdmGoalSetEvent(options: QueueOptions, definition: GoalDefinition, configuration: SoftwareDeliveryMachineConfiguration): OnEvent<OnAnySdmGoalSet.Subscription>;
|
24 | //# sourceMappingURL=Queue.d.ts.map |
\ | No newline at end of file |