pub fn hooks<S: Sink + 'static>(sink: S) -> Vec<(EventKind, Hook)>
One hook as a per-kind hook list (sharing the same state). Use it only in synchronous mode if ordering between kinds is needed.