[][src]Function gen_z::gen_z

pub fn gen_z<'fut, T: 'fut + Send, Fut: Future<Output = ()> + 'fut + Send, Gen: 'fut + FnOnce(Yielder<T>) -> Fut>(
    gen: Gen
) -> impl Stream<Item = T> + 'fut

Given an infallible future and a yield helper, produce a stream until the future arrives