marick, I don't yet know how to efficiently answer questions about the Swift language, so forgive if the answer is obvious.
Erlang/Elixir have a fault-intolerance library built on top of their version of actors. https://en.wikipedia.org/wiki/Open_Telecom_Platform It involves "supervision trees”, where supervisors control the lifespans of actors they supervise, react to unexpected failures, etc.
Is there an equivalent library for Swift?
Add comment