Post

Replies

Boosts

Views

Activity

Reply to chrome.runtime.onMessage sendResponse async not working
Ah sorry, that was just a simple example to try help reproduce, I'm not doing a timer in our actual code. chrome.runtime.onMessage.addListener(function ( message, sender, sendResponse ) { chrome.storage.local.set({"foo": 1}) .then(() => { sendResponse('response'); }) return true; }); has the same issue
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22
Reply to chrome.runtime.onMessage sendResponse async not working
V3
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’22