pub trait EventHandlerwhere
    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,