- From: Domenic Denicola <notifications@github.com>
- Date: Sun, 06 Aug 2023 20:25:32 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 7 August 2023 03:25:37 UTC
I think allowing multiple calls is fine. In that case I would rename the method from `registerRouter()` to `registerRoutes()`. The naive approach makes perfect sense to me. In other words, `registerRoutes(a); registerRoutes(b);` should be equivalent to `registerRoutes([...a, ...b]);`. I think that is what everyone would expect. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/issues/1373#issuecomment-1667128930 You are receiving this because you are subscribed to this thread. Message ID: <w3c/ServiceWorker/issues/1373/1667128930@github.com>
Received on Monday, 7 August 2023 03:25:37 UTC