-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Description
Issue Description
Looking at the Service API (https://trailsjs.io/doc/en/ref/service) I was a bit surprised to see there are no initialize() and unload() methods. Services are singleton instances intended to do the applications heavy lifting right? I had expected the possibility to eg. block the applications start until my Service has connected to a different service. At the moment it would always be necessary to write a trailpack when the service would require any form of bootup and shutdown logic.
Is this an intended design decision?
(If not,) would you be open to change that?
Environment
- trails version: v2
Reactions are currently unavailable