On Wed, May 15, 2013 at 4:00 PM, Gregory Szorc <g...@mozilla.com> 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.
We're on a tangent here, but many (most?) such services only care to be instantiated so that they can in turn observe other events (or they need to be continuously observing events from other services). It's sometimes wasteful to load+initialize the entire service just to observe events, so a mechanism similar to the existing messageWakeupService.js (but for observer service notifications rather than message manager messages) could be useful in avoiding some of that waste. Gavin _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform