Hacker News new | ask | show | jobs
by KronisLV 1195 days ago
Supervisor allows you to have event listeners (e.g. for processes quitting/crashing), so you can use those to achieve that and kill supervisor itself. Here's an example of people doing just that: https://gist.github.com/tomazzaman/63265dfab3a9a61781993212f...
1 comments

Neato. Do not have an immediate use case for this, but definitely something I will consider for the future.