Join Slack
Powered by
Presumably the Lambda host takes care off spinning...
# coroutines
s
sitepodmatt
03/01/2019, 2:30 AM
Presumably the Lambda host takes care off spinning up as many threads as required (= number of concurrent requests at any one time), so using runblocking (and its default dispatcher) your basically putting an event loop in each thread to service that request
https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/run-blocking.html
so it's fine
2
Views
Open in Slack
Previous
Next