Function tailf

Source
pub fn tailf(file: File, n: usize) -> UnboundedReceiver<TailEvent>
Expand description

Simple, naive implementation of tail -f -n <n> <path>. Uses polling, so it’s not the fastest, but simple and working for easy cases.