Yes. Making an outbound HTTP request requires a little bit of CPU to set up and send the request and the rest of the time is just waiting for the server to respond, in other words waiting for IO, and that's what event loops do best. The
has examples that might help. Now if you want to do lengthy CPU operations without blocking the process and the event loop, you can use
.