3 ms·
No you can use a few lines of kotlin coroutines in an otherwise java codebase.
by The_rationalist 5y ago
No you can use a few lines of kotlin coroutines in an otherwise java codebase.
- Skinney 5y agoThe Java code being called, or calling, the Kotlin coroutine code also needs to be async in order to reap all the benefits. A Java codebase doing a lot of blocking calls can't just call some random Kotlin coroutine code and expect benefits, it has to be async all the way.