awscdk-construct-scte-scheduler
Version:
AWS CDK Construct for scheduling SCTE-35 events using the MediaLive schedule API
12 lines (11 loc) • 510 B
TypeScript
import { WaiterOptions, WaiterResult } from "./waiter";
/**
* Create a waiter promise that only resolves when:
* 1. Abort controller is signaled
* 2. Max wait time is reached
* 3. `acceptorChecks` succeeds, or fails
* Otherwise, it invokes `acceptorChecks` with exponential-backoff delay.
*
* @internal
*/
export declare const createWaiter: <Client, Input>(options: WaiterOptions<Client>, input: Input, acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>) => Promise<WaiterResult>;