In a Chrome extension, what is the most reliable way to handle two-way message passing between components (e.g., content script, background, side panel)?
Should we :
Send a message and then send a separate follow-up message for the reply, or
Use the sendResponse callback to return data in the same message flow?