+ Start a Discussion
Prabhjot Singh 27Prabhjot Singh 27 

LWC - empApi for publishing and subscribing platform event

Trying to implement LWC - empApi  for publishing and subscribing platform event . 
Salesforce provided an example on:
https://developer.salesforce.com/docs/component-library/bundle/lightning-emp-api/documentation
But I  am getting issue on this as well 
Best Answer chosen by Prabhjot Singh 27
Prabhjot Singh 27Prabhjot Singh 27
Found the solution there was issue in documentation.  
https://developer.salesforce.com/forums/ForumsMain?id=9062I000000Xm9eQAC