https://kotlinlang.org logo
#ktor
Title
# ktor
m

Manas Marthi

03/05/2024, 5:07 AM
Hi, can we use jdk21 virtual threads within ktor? Do I need to use a completable future to get result
h

hfhbd

03/05/2024, 6:36 AM
Changing the dispatcher of the suspend call does not change the thread used by the engine, eg CIO always use IO. Maybe the Java client uses virtual threads, didn’t check it.
4 Views