SubscribeJsonPathCallback

Type Alias SubscribeJsonPathCallback 

Source
pub type SubscribeJsonPathCallback = Arc<dyn Fn() + Sync + Send>;
Expand description

Callback used by subscribe_jsonpath.

Note: the callback does not carry the query result. It is intended as a lightweight notification so applications can debounce/throttle and evaluate JSONPath themselves if needed.

Aliased Typeยง

pub struct SubscribeJsonPathCallback { /* private fields */ }