android-components / mozilla.components.browser.engine.gecko / kotlinx.coroutines.CoroutineScope / launchGeckoResult

launchGeckoResult

fun <T> CoroutineScope.launchGeckoResult(context: CoroutineContext = EmptyCoroutineContext, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> T): GeckoResult<T> (source)

Create a GeckoResult from a co-routine.