Interface StandardDataSourceOptions

This standard data source is the recommended datasource for most customers. It will use a combination of streaming and polling to initialize the SDK, provide real time updates, and can switch between streaming and polling automatically to provide redundancy.

Hierarchy

Properties

dataSourceOptionsType: "standard"
pollInterval?: number

The time between polling requests, in seconds. Default if omitted.

streamInitialReconnectDelay?: number

Sets the initial reconnect delay for the streaming connection, in seconds. Default if omitted.

The streaming service uses a backoff algorithm (with jitter) every time the connection needs to be reestablished. The delay for the first reconnection will start near this value, and then increase exponentially up to a maximum for any subsequent connection failures.

The default value is 1.

Generated using TypeDoc