Skip to main content

SalesforceStreaming

Index

Constructors

publicconstructor

  • new SalesforceStreaming(__namedParameters: { baseUrl: string; bearer: string | () => Promise<string> | () => string; enableAdapter?: boolean; streamingApiPath?: string }): SalesforceStreaming
  • Parameters

    • __namedParameters: { baseUrl: string; bearer: string | () => Promise<string> | () => string; enableAdapter?: boolean; streamingApiPath?: string }

    Returns SalesforceStreaming

Properties

publicreadonlybaseUrl

baseUrl: string

publicreadonlybearer

bearer: string | () => Promise<string> | () => string

publicreadonlystreamingApiPath

streamingApiPath: string

Methods

publicsubscribe

  • subscribe(__namedParameters: SubscribeInput): AsyncGenerator<SalesforceMessage, void, undefined>
  • Parameters

    • __namedParameters: SubscribeInput

    Returns AsyncGenerator<SalesforceMessage, void, undefined>

publicsubscribePlatformEvent

  • subscribePlatformEvent(__namedParameters: SubscribePlatformEventInput): AsyncGenerator<SalesforceMessage, void, undefined>
  • Parameters

    • __namedParameters: SubscribePlatformEventInput

    Returns AsyncGenerator<SalesforceMessage, void, undefined>