Builder

class Builder

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private var scope: CoroutineScope?

Functions

Link copied to clipboard
fun <ResultT> execute(config: TaskConfig? = TaskConfig(), block: suspend CoroutineScope.() -> ResultT): Task<ResultT>
Link copied to clipboard
fun withScope(scope: CoroutineScope = ContextScope.getSupervisor(DispatchersProvider.Default)): Task.Builder

provide your own scope for the task to run on