Package-level declarations

Types

Link copied to clipboard
abstract class AbstractObservable<T>(emitOnDistinct: Boolean = true) : Observable<T>

The base implementation of Observable: it keeps the registered callbacks, hands out their handles, and notifies them of the values published through updateAndNotify.

Link copied to clipboard

Owns a group of Disposable resources and releases them together.

Link copied to clipboard

An implementation of Observable that emits updates to its observers when triggered manually via the emit method. The observed value is always Unit. A standard it.unibo.alchemist.model.observation.MutableObservable of Unit is not the answer to an observable emitter, because of observable idempotency.

Link copied to clipboard
class ObservableMutableList<T> @JvmOverloads constructor(initial: Iterable<T> = emptyList()) : AbstractObservable<List<T>> , ObservableList<T>

A mutable observable list implementation, which allows for observing changes to the list and provides notifications when its contents are modified. This class supports addition, removal, updates, and observation of modifications to the list.

Link copied to clipboard
open class ObservableMutableMap<K, V>(initial: Map<K, V> = emptyMap()) : AbstractObservable<Map<K, V>> , ObservableMap<K, V>

A class that represents an observable, mutable map. Allows observation of map changes, including addition, removal, modifications of key-value pairs, and observation of particular keys for their value changes.

Link copied to clipboard
class ObservableMutableSet<T>(initial: Iterable<T> = emptyList()) : AbstractObservable<Set<T>> , ObservableSet<T>

A mutable observable set implementation, which allows for observing changes to the set and provides notifications when its contents are modified. This class supports addition, removal, and observation of modifications to the set.