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

Yeah, seems like HTTP client libs should just be used in blocking/sync mode, and the user can wrap the calls in async if desired. I said the alternative is a threadpool under the assumption that the lib actually needs concurrency, but this doesn't.

Now that you mention it, this reminds me of ObjC where promises were a cool new thing and got put into tons of libs for no reason. The fad died down after a year or so.




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

Search: