Actors, supervision, lifecycle
The classic actor model in idiomatic TypeScript. Each actor owns its state and processes messages one at a time, so you stop reasoning about locks and race conditions. When a child fails, its parent gets to decide whether to restart, escalate, or stop it — supervision trees give you fault tolerance as a structural property, not as a try/catch afterthought.