android-components / mozilla.components.support.base.observer

## Package mozilla.components.support.base.observer

### Types

Consumable | `class Consumable<T>` A generic wrapper for values that can get consumed.
ConsumableStream | `class ConsumableStream<T>` A generic wrapper for a stream of values that can be consumed. Values will be consumed first in, first out.
Observable | `interface Observable<T>` Interface for observables. This interface is implemented by ObserverRegistry so that classes that want to be observable can implement the interface by delegation:
ObserverRegistry | `class ObserverRegistry<T> : Observable<T>` A helper for classes that want to get observed. This class keeps track of registered observers and can automatically unregister observers if a LifecycleOwner is provided.