Task

private constructor(scope: CoroutineScope, config: TaskConfig? = TaskConfig(), block: suspend CoroutineScope.() -> ResultT)

Parameters

scope

a CoroutineScope defaulted to Default can provide your own scope as well, ensure its testable by injecting the provider.