1 min readMar 1, 2019
Every function that launches a coroutine as its side-effect should be declared as an extension on CoroutineScope
, just like all the built-in coroutine builders:
fun CoroutineScope.routeChat(): ResultType
Every function that launches a coroutine as its side-effect should be declared as an extension on CoroutineScope
, just like all the built-in coroutine builders:
fun CoroutineScope.routeChat(): ResultType
Project Lead for the Kotlin Programming Language @JetBrains