Type Definition medea_reactive::Observable[][src]

type Observable<D> = ObservableField<D, RefCell<Vec<UniversalSubscriber<D>>>>;

ObservableField that allows to subscribe to all changes (ObservableField::subscribe) and to concrete changes (ObservableField::when and ObservableField::when_eq).

Implementations

impl<D> Observable<D> where
    D: Clone + 'static, 
[src]

pub fn subscribe(&self) -> LocalBoxStream<'static, D>[src]

Returns Stream into which underlying data updates will be emitted.