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

Implementors§

source§

impl<__: ?Sized> EventHandler for __
where Self: FnMut(Vec<BoxedDocument>, LiveQueryEvent) + Send + 'static,