TheVishnuKumar / lwc-streaming-api

Lightning Web Component Streaming API
http://www.0to1code.com/
BSD 2-Clause "Simplified" License
29 stars 15 forks source link

How would I replay past events using this component? #3

Closed rsoesemann closed 3 years ago

rsoesemann commented 3 years ago

In empApi there is a parameter to replay past events. https://developer.salesforce.com/docs/component-library/bundle/lightning-emp-api/documentation

Can I also do it using this component?

TheVishnuKumar commented 3 years ago

At this moment no, This component is inspired by this https://developer.salesforce.com/docs/atlas.en-us.api_streaming.meta/api_streaming/code_sample_generic_vfp_walkthrough.htm.

This component can be updated based on the replay. It needs another extension for it https://github.com/developerforce/SalesforceDurableStreamingDemo/blob/master/staticresources/cometdReplayExtension.resource.