Scoop API

scoop:scoop.core:0.1.0

startDispatchedCoroutine

function startDispatchedCoroutine

source · line 108
public
public fun <T> startDispatchedCoroutine(executor: CoroutineExecutor, task: suspend () -> T, completion: Continuation<T>): Unit

Starts a suspending function by submitting its first drive to the selected executor.

function startDispatchedCoroutine

source · line 98
public
public fun <T> startDispatchedCoroutine(executor: CoroutineExecutor, task: SuspendTask<T>, completion: Continuation<T>): Unit

Starts a task by submitting its first drive to the selected executor.