Stdlib
std.supervisor
Erlang-inspired actor supervision strategies.
Available only when Eta is built with -DETA_BUILD_NNG=ON.
(import std.supervisor)
| Symbol | Description |
|---|---|
(one-for-one specs) | Restart only the failed child. |
(one-for-all specs) | Restart every child when any one fails. |
Each spec is a list (id start-thunk . opts) describing how to (re)start
a child.