DeploymentOptions

Properties

account?

optional account: Account

A Dasha.AI API account to use.

If not set, defaults to a "current" account derived in a platform-specific way. For Node.js, the current account may be set using Dasha CLI.


axios?

optional axios: null | AxiosInstance

An instance of the axios HTTP client used for #httpRequest(). Set to null to disable #httpRequest() altogether.

Is also available as Application.axios


cancelToken?

optional cancelToken: CancelToken


groupName?

optional groupName: string

A [group] to use for the application instance.

If not set, the application is run in a separate, unnamed group.


healthcheckInterval?

optional healthcheckInterval: number

An interval, in milliseconds, to ping the server to check for connection issues.


maxReconnectCount?

optional maxReconnectCount: number

How many times to try to reconnect to server in case of connection issues. Set to zero to disable reconnection attempts.


onProgress?

optional onProgress: ProgressHandler

A callback that, if set, receives the current status of the deployment process.


reconnectInterval?

optional reconnectInterval: number | (retryCount) => number

An interval, in milliseconds, to retry connecting to server in case of connection issues. May be specified either as a constant, or as a function of the number of previous retries.

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.