Warn use of synchronous functions in async code

I don't know how we could go about doing something like this, but it would be nice if there was a lint for blocking functions in async code. Occasionally I forget I'm an async function and I do blocking calls. I imagine that in single threaded aplications something like this could be really useful. Has it ever happened to you?

1 Like

Seems like there's some traction.


Oh that's nice.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.