Type alias StreamingMockCometSubscriptionOptions

StreamingMockCometSubscriptionOptions: {
    id: string;
    messagePlaylist?: Message[];
    subscriptionCall: StreamingMockSubscriptionCall;
    subscriptionErrbackError?: SfError;
    url: string;
}

Additional subscription options for the StreamingMock.

Type declaration

  • id: string

    Simple id to associate with this instance.

  • Optional messagePlaylist?: Message[]

    A list of messages to playback for the client. One message per process tick.

  • subscriptionCall: StreamingMockSubscriptionCall

    What is the subscription outcome a successful callback or an error?.

  • Optional subscriptionErrbackError?: SfError

    If it's an error that states what that error should be.

  • url: string

    Target URL.