MutterCorp
MutterCorpNotice · Notícias
Programação·

Scheduled Tasks in Chrome Extensions Without chrome.alarms

The question usually arrives after the first alarm fires late: "can I do scheduled tasks without chrome.alarms?" The honest answer is yes, but every alternative trades one guarantee for another, and most of them trade away the guarantee you actually needed. Here are five options, what they really provide, and when each is defensible. The short version chrome.alarms is the only scheduler that survives worker termination and browser restarts. Offscreen documents and content scripts are timers wit…

Publicado no Notice. Categoria: Programação.

Notícias sobre o mesmo assunto em outras fontes