SalesforceStreaming
Index
Constructors
Properties
Methods
Constructors
publicconstructor
Parameters
__namedParameters: { baseUrl: string; bearer: string | () => Promise<string> | () => string; enableAdapter?: boolean; streamingApiPath?: string }
Returns SalesforceStreaming
Properties
publicreadonlybaseUrl
publicreadonlybearer
publicreadonlystreamingApiPath
Methods
publicsubscribe
Parameters
__namedParameters: SubscribeInput
Returns AsyncGenerator<SalesforceMessage, void, undefined>
publicsubscribePlatformEvent
Parameters
__namedParameters: SubscribePlatformEventInput
Returns AsyncGenerator<SalesforceMessage, void, undefined>