Function waitForSuccessfulBuild

  • Resolves only when build has been completed. Will timeout after specified time.

    Export

    Returns

    Parameters

    • buildSid: string

      the build to wait for

    • serviceSid: string

      the service of the build

    • client: TwilioServerlessApiClient

      API client

    • eventEmitter: EventEmitter<DefaultEventMap>

      optional event emitter to communicate current build status

    • timeout: number = ...

      optional timeout. default: 5 minutes

    Returns Promise<void>

Generated using TypeDoc