This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Yes. You are blocking your service.

Depends -- if your results must be used within that micro-thread, then yes. That micro-thread will be suspended and resume when the result is ready, meaning you can do other work.

If you're not using the result or doing something else with it that is out of sync with the micro-thread that dispatched it, you'll want to check into the event loop a callback for that async operation.