ExamGecko
Question list
Search
Search

Question 157 - Certified B2B Commerce Developer discussion

Report
Export

Which two methods should a developer implement in a Lightning web component to successfully handle the subscription lifecycle of a Message Channel?

A.
Subscribe()
Answers
A.
Subscribe()
B.
stopListener()
Answers
B.
stopListener()
C.
startListener()
Answers
C.
startListener()
D.
unsubscribe() Answer: A, D
Answers
D.
unsubscribe() Answer: A, D
Suggested answer: A, D

Explanation:

Subscribe and Unsubscribe from a Message Channel

Lifecycle Hooks

Use message channel in both direction

asked 23/09/2024
FL Ferdous Attaie
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first