Re: Tell a supervisor to stop when all children are gone
Frank Muller <[email protected]> Wed, 23 Mar 2022 09:58:45 +0100
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAFA6GnDEK-bkO6J6UnK7QpWkp0TuirFwcDwYRiYYYUTvZJ-Oiw@mail.gmail.com> |
Exactly what I was looking for. Thank you. > Hi Frank, > > Would auto_shutdown set to all_significant help? > > > https://www.erlang.org/doc/design_principles/sup_princ.html#automatic-shutdown > > Br, > Zsolt > > Sent from my iPad > > On 2022. Mar 23., at 8:50, Frank Muller <[email protected]> > wrote: > > Hi guys, > > > How should I configure my supervisor to automatically stop it when its > children are stopped? > > I’m using rest_for_one strategy. > > Thanks. > /Frank > >