pub type ProgressableHashSet<T> = HashSet<T, SubStore<T>, Guarded<T>>;Expand description
Reactive hash set based on HashSet with an ability to recognize when all
updates was processed by subscribers.
Aliased Type§
pub struct ProgressableHashSet<T> { /* private fields */ }Implementations§
Source§impl<T> ProgressableHashSet<T>where
T: Clone + 'static,
impl<T> ProgressableHashSet<T>where
T: Clone + 'static,
Sourcepub fn when_insert_processed(&self) -> Processed<'static> ⓘ
pub fn when_insert_processed(&self) -> Processed<'static> ⓘ
Returns Future resolving when all push updates will be processed by
HashSet::on_insert() subscribers.
Sourcepub fn when_remove_processed(&self) -> Processed<'static> ⓘ
pub fn when_remove_processed(&self) -> Processed<'static> ⓘ
Returns Future resolving when all remove updates will be processed
by HashSet::on_remove() subscribers.
Sourcepub fn when_all_processed(&self) -> AllProcessed<'static> ⓘ
pub fn when_all_processed(&self) -> AllProcessed<'static> ⓘ
Returns Future resolving when all insert and remove updates will be
processed by subscribers.