Type alias OrderSubscriberConfig

OrderSubscriberConfig: {
    decodeData?: boolean;
    driftClient: DriftClient;
    fastDecode?: boolean;
    subscriptionConfig: {
        commitment?: Commitment;
        frequency: number;
        type: "polling";
    } | {
        commitment?: Commitment;
        logResubMessages?: boolean;
        resubTimeoutMs?: number;
        resyncIntervalMs?: number;
        skipInitialLoad?: boolean;
        type: "websocket";
    };
}

Type declaration

  • Optional decodeData?: boolean
  • driftClient: DriftClient
  • Optional fastDecode?: boolean
  • subscriptionConfig: {
        commitment?: Commitment;
        frequency: number;
        type: "polling";
    } | {
        commitment?: Commitment;
        logResubMessages?: boolean;
        resubTimeoutMs?: number;
        resyncIntervalMs?: number;
        skipInitialLoad?: boolean;
        type: "websocket";
    }

Generated using TypeDoc