WatcherActionFn

Type Alias WatcherActionFn 

Source
pub type WatcherActionFn = Arc<dyn Fn(Value, Value, State, Arc<dyn SessionWriter>) -> BoxFuture<()> + Send + Sync>;
Expand description

Action fired by a watcher: (old, new, state, writer) → future.

Aliased Type§

pub struct WatcherActionFn { /* private fields */ }