public class HandlerDispatcherKt
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
awaitFrame(kotlin.coroutines.experimental.Continuation<? super java.lang.Long> p)
Awaits the next animation frame and returns frame time in nanoseconds.
|
static HandlerDispatcher |
from(android.os.Handler $receiver,
java.lang.String name)
Represents an arbitrary Handler as a implementation of CoroutineDispatcher
with an optional name for nicer debugging
|
static HandlerDispatcher |
from(android.os.Handler $receiver)
Represents an arbitrary Handler as a implementation of CoroutineDispatcher
with an optional name for nicer debugging
|
public static HandlerDispatcher from(android.os.Handler $receiver, java.lang.String name)
Represents an arbitrary Handler as a implementation of CoroutineDispatcher with an optional name for nicer debugging
public static HandlerDispatcher from(android.os.Handler $receiver)
Represents an arbitrary Handler as a implementation of CoroutineDispatcher with an optional name for nicer debugging
public static java.lang.Object awaitFrame(kotlin.coroutines.experimental.Continuation<? super java.lang.Long> p)
Awaits the next animation frame and returns frame time in nanoseconds.