public class CancellableKt
Modifier and Type | Method and Description |
---|---|
static <T> NonExistentClass |
startCoroutineCancellable(kotlin.jvm.functions.Function1<? super kotlin.coroutines.experimental.Continuation<? super T>,? extends java.lang.Object> $receiver,
NonExistentClass completion)
Use this function to start coroutine in a cancellable way, so that it can be cancelled
while waiting to be dispatched.
|
static <R,T> NonExistentClass |
startCoroutineCancellable(kotlin.jvm.functions.Function2<? super R,? super kotlin.coroutines.experimental.Continuation<? super T>,? extends java.lang.Object> $receiver,
R receiver,
NonExistentClass completion)
Use this function to start coroutine in a cancellable way, so that it can be cancelled
while waiting to be dispatched.
|
public static <T> NonExistentClass startCoroutineCancellable(kotlin.jvm.functions.Function1<? super kotlin.coroutines.experimental.Continuation<? super T>,? extends java.lang.Object> $receiver, NonExistentClass completion)
Use this function to start coroutine in a cancellable way, so that it can be cancelled while waiting to be dispatched.
public static <R,T> NonExistentClass startCoroutineCancellable(kotlin.jvm.functions.Function2<? super R,? super kotlin.coroutines.experimental.Continuation<? super T>,? extends java.lang.Object> $receiver, R receiver, NonExistentClass completion)
Use this function to start coroutine in a cancellable way, so that it can be cancelled while waiting to be dispatched.