class CallImpl2<T> : Call2<T>
<init> |
CallImpl2(runnable: suspend () -> Result<T>, scope: CoroutineScope = GlobalScope) |
canceled |
var canceled: Boolean |
runnable |
var runnable: suspend () -> Result<T> |
scope |
var scope: CoroutineScope |
cancel |
fun cancel(): Unit |
enqueue |
fun enqueue(callback: (Result<T>) -> Unit): Unit |
execute |
fun execute(): Result<T> |