public class ObservingEmitter<T> implements Emitter<T>
Emitter.Companion| Constructor and Description |
|---|
ObservingEmitter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterLastDetached() |
protected void |
beforeFirstAttached() |
protected void |
call(T value) |
Detacher |
observe(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> observer) |
protected void |
onAttached(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> observer) |
protected void |
onDetached(kotlin.jvm.functions.Function1<? super T,kotlin.Unit> observer) |
@NotNull public Detacher observe(@NotNull kotlin.jvm.functions.Function1<? super T,kotlin.Unit> observer)
protected void call(T value)
protected void beforeFirstAttached()
protected void onAttached(@NotNull
kotlin.jvm.functions.Function1<? super T,kotlin.Unit> observer)
protected void onDetached(@NotNull
kotlin.jvm.functions.Function1<? super T,kotlin.Unit> observer)
protected void afterLastDetached()