async

fun <T> async(lifetime: Lifetime, context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, action: suspend CoroutineScope.() -> T): Deferred<T>

Deprecated

Use coroutine scope built in lifetime

Replace with

import kotlinx.coroutines.async
lifetime.coroutineScope.async(context, start, action)