async fn line_feeder<R: AsyncRead + Unpin, F: FnMut(&[u8])>(reader: R, f: F)
Reads lines from a reader and calls the closure for each line.