Skip to main content

hooks

Function hooks 

Source
pub fn hooks<S: Sink + 'static>(sink: S) -> Vec<(EventKind, Hook)>
Expand description

One hook as a per-kind hook list (sharing the same state). Use it only in synchronous mode if ordering between kinds is needed.