Gregory Szorc wrote:

Ahh, I was thinking more of JS services. In this world, your manifest adds an entry to the "app-startup" category and your service receives the "app-startup" notification. It is customary for it to register an observer for a later startup phase and finish initialization then.

Well, if it's still at startup then all you're doing is moving the service load to a different point in startup, but you can register with profile-after-change instead if that's early enough. (I don't think any other notifications have a category.)

--
Warning: May contain traces of nuts.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to