Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Backend
/
Scala backend development
What does `IO.blocking(jdbcCall())` provide?
from Scala backend development
Scala 3.9.0 / Cats Effect 3.7.1 / http4s 0.23.36 / Java 25 LTS
intermediate
1 min
What does `IO.blocking(jdbcCall())` provide?
It makes JDBC nonblocking and transactionally cancellable.
It shifts blocking work away from compute threads; the call still needs driver timeouts and capacity limits.
It opens one new database connection for the effect.
It serializes all blocking work in the process.
Check
Ask AI about this kata
Report an error
next kata
When does the body of `IO.println("saved")` normally run?
Quiz
A new version is available
Reload