I’m coming to ruby from other programming languages like C# and Swift
where you can handle web async calls with built in feature like
async/await, so you can fetch db result, wait them to perform an
operation once the result are returned, but still be able to do other
things while waiting for the results.
On Ruby, if I want to query a database and not block the system, without
necessarily creating a new thread, is it possible ? What are the common
ways in this language ?