6 ms·
I've recently been writing a Chrome Extension. It becomes harder when any one of your distributed event loops can be closed/shut down at any time (e.g: content
by emadda 3y ago
I've recently been writing a Chrome Extension.
It becomes harder when any one of your distributed event loops can be closed/shut down at any time (e.g: content script, service worker, options page).
Chrome Extensions with the newest "manifest v3" do not have persistent "background pages" any more, but have "service workers" that Chrome will terminate every 30s.