Is there any coroutine implementation for mysql/jd...
# coroutines
o
Is there any coroutine implementation for mysql/jdbc?
e
What it would do?
o
Wait for a response from mysql without blocking
The only async implementation I found is in scala: https://github.com/mauricio/postgresql-async
e
You'll need either an async DB driver (I have not seen those yet) or a fixed sized thread poll form your DB call. With the later it is easy. You just
run(myDBPool) { ... }
your queries in it. It will not block the thread uses this line of code.
o
Thanks, I will try that