Exam4Training

What should be added to the Lightning web component to allow the developer to interact with the Server Update platform event?

Get Cloudy Consulting (GCC) has a multitude of servers that host its customers’ websites. GCC wants to provide a servers status page that is always on display in its call center. It should update in real time with any changes made to any servers. To accommodate this on the server side, a developer created a Server Update platform event.

The developer is working on a Lightning web component to display the information.

What should be added to the Lightning web component to allow the developer to interact with the Server Update platform event?
A . import { subscribe, unsubscribe, onError } from ‘lightning/MessageChannel’
B. import { subscribe, unsubscribe, onError } from ‘lightning/empApi’;
C. import { subscribe, unsubscribe, onError } from ‘lightning/pubsub’
D. import { subscribe, unsubscribe, onError } from ‘lightning/ServerUpdate’

Answer: B

Latest PDII Dumps Valid Version with 280 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version