pub fn channel<I: Interface>() -> (impl FnOnce(I), impl FnOnce(()) -> I)
Expand description

Returns a sender and a receiver.