Skip to main content

ChangeHandlerFn

Type Alias ChangeHandlerFn 

Source
pub type ChangeHandlerFn<Context, Action> = Box<dyn Fn(FileChange, &mut Context) -> BoxFuture<'static, Result<Action, FloxideError>> + Send + Sync>;
Expand description

A handler function for file changes

Aliased Typeยง

pub struct ChangeHandlerFn<Context, Action>(/* private fields */);