How do you communicate between a Service Worker and the main thread? What is the role of BroadcastChannel vs postMessage here? | Web Workers | javascript Interview Questions | NextRound.in