Trait dittolive_ditto::store::live_query::EventHandler
source · [−]pub trait EventHandler where
Self: FnMut(Vec<BoxedDocument>, LiveQueryEvent) + Send + 'static, { }
Expand description
An alias for FnMut(Vec < BoxedDocument >, LiveQueryEvent) + Send + 'static
.
A closure which is called on each event