Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actor methods aren't async. You can create async tasks, but there's no message pump thread. Every "await" results in a suspension via a future that gets carried as data, essentially tied to a response message. Reasoning about async from a threaded perspective won't make sense, because there are no threads. Async here just gives you a nice state machine, not a message pump.
 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: