Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
labuus1036y@mrsulfat Nope. I'm looking at a method that does stuff in parallel (synchronously) that has the word async in the name.
-
@mrsulfat Parallel: Executing multiple things together -- It is a blocking call
Async: Working in background until the result is ready while the rest of the code gets executed, and only stops at the part where async result is being used -- It is an unblocking call -
Parallel is running at the same time, asynchronous task runned by some order by the given amount of time.
-
labuus1036y@jaerie Ok let me offer an definition and see if you agree. The confusion comes from the common concept of a task, so I'll start there. Parallel is doing multiple tasks at the same time. Asynchronous is doing a task and not waiting for it to compete (either fire-and-forget, or with a callback).
Colleagues who don't know the difference between Asynchronous and Parallel.
rant