execute

inline fun <ResultT> execute(retry: Int = 0, backOffDelay: Int = 0, startDelay: Int = 0, config: TaskConfig? = TaskConfig(retry, backOffDelay, startDelay), noinline block: suspend CoroutineScope.() -> ResultT): Task<ResultT>

Build that will create a task and it's logic

Parameters

block

That task logic