Type Definition medea_reactive::collections::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::Guard
s.
Implementations
impl<T> ProgressableVec<T> where
T: Clone + 'static,
[src]
T: Clone + 'static,
pub fn when_push_processed(&self) -> Processed<'static>ⓘ
[src]
Returns Future
resolving when all push updates will be processed by
Vec::on_push()
subscribers.
pub fn when_remove_processed(&self) -> Processed<'static>ⓘ
[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]
Notable traits for AllProcessed<'a, T>
impl<'a, T> Future for AllProcessed<'a, T> type Output = T;
Returns Future
resolving when all push and remove updates will be
processed by subscribers.