Hacker News new | past | comments | ask | show | jobs | submit login

What if file exists operation MUST be sync?



Then you don’t start it in a virtual thread. Your calls automatically become blocking or not blocking depending on your callsites, which is the proper place to decide that.


So it still has colors?




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

Search: