Get the latest tech news
Isolated(any)
There are cases where just a little more visibility and control over how to schedule asynchronous work can make all the difference.
When the dispatcher puts you on hold to coordinate with the ambulance team, that’s the isolation switch - they’re transferring your request to a different department that specializes in that type of work. Today, there is no way to constrain a function to only specific actor types, such as@isolated(MyActor). Thankfully, from a practical perspective, we can enjoy the ordering guarantees of task creation that it enables without needing to master it.
Or read this on Hacker News