Skip to main content

DocumentChangeCallback

Type Alias DocumentChangeCallback 

Source
pub type DocumentChangeCallback = Arc<dyn Fn(Value, Value) -> Pin<Box<dyn Future<Output = ()> + Send>> + Send + Sync>;
Expand description

Type alias for the on_change callback used by DocumentCache.

Aliased Typeยง

pub struct DocumentChangeCallback { /* private fields */ }