UNPKG

cdk-amazon-chime-resources

Version:

![Experimental](https://img.shields.io/badge/experimental-important.svg?style=for-the-badge)

12 lines (11 loc) 510 B
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>;