nu_protocol

Type Alias Handler

Source
pub type Handler = Box<dyn Fn(SignalAction) + Send + Sync>;
Expand description

Handler is a closure that can be sent across threads and shared.

Aliased Typeยง

struct Handler(/* private fields */);