pnxtech / hydra

A light-weight library for building distributed applications such as microservices
https://www.hydramicroservice.com
MIT License
645 stars 54 forks source link

hydra.shutdown() returns promise #96

Closed ecwyne closed 7 years ago

ecwyne commented 7 years ago

This allows tests to know when shutdown has completed as opposed to waiting for two seconds before proceeding to the next test which dramatically decreases the time it takes for tests to run.