Options for the StreamingClient

interface Options {
    apiVersion: string;
    channel: string;
    handshakeTimeout: Duration;
    org: Org;
    streamProcessor: StreamProcessor;
    streamingImpl: StreamingClientIfc;
    subscribeTimeout: Duration;
}

Implemented by

Properties

apiVersion: string

The salesforce api version

channel: string

The streaming channel aka topic

handshakeTimeout: Duration

The hard timeout that happens with a handshake.

org: Org

The org streaming target.

streamProcessor: StreamProcessor

The function for processing streaming messages

streamingImpl: StreamingClientIfc

The function for build the inner client impl. Allows for mocking.

subscribeTimeout: Duration

The hard timeout that happens with subscribe