pub trait ChangeHandlerWithSignalNext
where Self: FnMut(QueryResult, Box<dyn Send + SignalNext>) + Send + 'static,
{ }
Expand description

An alias for FnMut(QueryResult, Box<dyn Send + SignalNext>) + Send + 'static. A change handler is called whenever an active store observer receives new results.

Call the provided SignalNext function to signal that the handler is ready to receive the next callback from the store observer.

Implementors§

source§

impl<__: ?Sized> ChangeHandlerWithSignalNext for __
where Self: FnMut(QueryResult, Box<dyn Send + SignalNext>) + Send + 'static,