UNPKG

@shipengine/connect

Version:

The official developer tooling for building ShipEngine connect apps

10 lines (9 loc) 394 B
import APIClient from '../api-client'; import { Deployment, ConnectApp } from '../types'; /** * Poll for the status of a deployment. It will keep deploying at the desired interval until one of the following status is returned: * - terminated * - running * - error */ export declare function watchDeployment(deployment: Deployment, app: ConnectApp, client: APIClient): Promise<Deployment>;