hookio/hook.io — Issue #131: Emit event when hook.stop() is called
Author: fent
Created: 2011-11-17 21:41:07+00:00
State: open

The `hook::ready` event allows us to start any monitoring services on hooks. But when `hook.stop()` is called, the monitoring isn't stopped.

Emitting an event such as`hook::stopped` would help hook developers to add cleanup and unmonitor code when/if the hook is ever stopped. Hooks that could benefit from this are [couch](http://github.com/hookio/couch), [cron](http://github.com/hookio/cron), [webhook](http://github.com/hookio/webhook), and [feedsub](https://github.com/fent/hook.io-feedsub).