Type Definition medea_reactive::ProgressableVec[][src]

type ProgressableVec<T> = Vec<T, SubStore<T>, Guarded<T>>;

Reactive vector based on Vec with additional functionality of tracking progress made by its subscribers. Its Vec::on_push() and Vec::on_remove() subscriptions return values wrapped in a progressable::Guarded, and the implementation tracks all progressable::Guards.

Implementations

impl<T> ProgressableVec<T> where
    T: Clone + 'static, 
[src]

pub fn when_push_processed(&self) -> Processed<'static>

Notable traits for Processed<'a, T>

impl<'a, T> Future for Processed<'a, T> type Output = T;
[src]

Returns Future resolving when all push updates will be processed by Vec::on_push() subscribers.

pub fn when_remove_processed(&self) -> Processed<'static>

Notable traits for Processed<'a, T>

impl<'a, T> Future for Processed<'a, T> type Output = T;
[src]

Returns Future resolving when all remove updates will be processed by Vec::on_remove() subscribers.

pub fn when_all_processed(&self) -> AllProcessed<'static>

Notable traits for AllProcessed<'a, T>

impl<'a, T> Future for AllProcessed<'a, T> type Output = T;
[src]

Returns Future resolving when all push and remove updates will be processed by subscribers.