/// Convenience method to feed an iterator of values to all observers of the
/// broadcast, along with a given context.
Convenience method to feed an iterator of values to all observers of the
broadcast, along with a given context.
Convenience method to feed an iterator of values to all observers of the broadcast along with a given context .
pub fn feed_ctx<K, B, I>(&self, ctx: K, iter: I)
    where
        K: Borrow<C>,
        I: Iterator<Item = B>,
        B: Borrow<T>,
    {
        let ctx = ctx.borrow();
        for value in iter {
            self.send_ctx(ctx, value);
        }
    }
pub fn feed_ctx < K , B , I > ( & self , ctx : K , iter : I ) where K : Borrow < C > , I : Iterator < Item = B > , B : Borrow < T > , { let ctx = ctx . borrow ( ) ; for value in iter { self . send_ctx ( ctx , value ) ; } }
Convenience method to feed an iterator of values to all observers of the
broadcast, along with a given context.
Convenience method to feed an iterator of values to all observers of the broadcast along with a given context .
&self
ctx
K
iter
I