mogwai::txrx
pub fn txrx_map<A, B, F>(f: F) -> (Transmitter<A>, Receiver<B>) where A: Any, B: Any, F: Fn(&A) -> B + 'static,