UNPKG

open-next-cdk

Version:

Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK

36 lines (35 loc) 1.16 kB
import { AbortController } from "./abort"; /** * @public */ export interface WaiterConfiguration<Client> { /** * Required service client */ client: Client; /** * The amount of time in seconds a user is willing to wait for a waiter to complete. */ maxWaitTime: number; /** * @deprecated Use abortSignal * Abort controller. Used for ending the waiter early. */ abortController?: AbortController; /** * Abort Signal. Used for ending the waiter early. */ abortSignal?: AbortController["signal"]; /** * The minimum amount of time to delay between retries in seconds. This is the * floor of the exponential backoff. This value defaults to service default * if not specified. This value MUST be less than or equal to maxDelay and greater than 0. */ minDelay?: number; /** * The maximum amount of time to delay between retries in seconds. This is the * ceiling of the exponential backoff. This value defaults to service default * if not specified. If specified, this value MUST be greater than or equal to 1. */ maxDelay?: number; }