public class AsyncEmitter<T>
extends AlwaysEmitter
| Modifier and Type | Class and Description |
|---|---|
static class |
AsyncEmitter.Cached<T> |
PushEmitter.CompanionCompanion| Constructor and Description |
|---|
AsyncEmitter() |
| Modifier and Type | Method and Description |
|---|---|
protected kotlin.jvm.functions.Function2<kotlinx.coroutines.CoroutineScope,kotlin.coroutines.Continuation,java.lang.Object> |
getValue() |
protected java.lang.Object |
getValue(kotlin.coroutines.Continuation<? super T> p) |
protected AsyncEmitter.Cached<T> |
getValueFromCache() |
protected void |
putValueToCache(T value) |
getValue, tryGetValueonAttached, onChanged, tryGetValueafterLastDetached, beforeFirstAttached, call, observe, onAttached, onDetached@NotNull protected kotlin.jvm.functions.Function2<kotlinx.coroutines.CoroutineScope,kotlin.coroutines.Continuation,java.lang.Object> getValue()
@Nullable
protected java.lang.Object getValue(@NotNull
kotlin.coroutines.Continuation<? super T> p)
protected void putValueToCache(T value)
@Nullable protected AsyncEmitter.Cached<T> getValueFromCache()