I don't see when would be useful having a callback. The callback in the shutdown event is needed in order to notify that the shutdown task has finished. If for any reason is not called then the process is killed. When the server is up and listening you don't need to do anything else, you don't need to set a "start timeout", you don't need to "gracefully start".
On Monday, March 4, 2013 11:55:02 PM UTC+1, Adam Crabtree wrote: > > That looks like a pretty cool / appropriately abstracted series of events > for a typical server lifecycle. I would say though that typically `start()` > would take a callback, and I don't think I've ever seen an event handler > take a callback like that either since the EE paradigm is implied > decoupling. > > Cheers, > Adam Crabtree > > -- > Better a little with righteousness > than much gain with injustice. > Proverbs 16:8 > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
