Virtual
A globally shared CoroutineDispatcher backed by Virtual Threads. Use this for launching database operations via Kotlin Coroutines.
Example:
launch(OctaviusDispatchers.Virtual) {
session.createNativeQuery("...").execute()
}Content copied to clipboard