Hacker News new | ask | show | jobs
by explaininjs 701 days ago
That sounds a lot like async/await. Any errors thrown in an async context bubble to the callsite awaiting it.
1 comments

Sorry you are right, that was specific to our case where we were already waiting for a result from the goroutines. In an actor model, you would let the "goroutine" die and the supervisor would restart it if it has a restart policy, otherwise it will die and stay dead (without bringing the system down). In erlang you can also "link" the current actor to another actor so that if the linked actor dies, the linker dies too (or receives a message)