Scheduling a Delayed Task That Outlives Your Service Worker
The feature request was one sentence: "send the welcome tip five minutes after install, not immediately". The implementation took twenty minutes. Making it survive a worker restart took an afternoon, because "five minutes later" is a promise the browser is no…


