pub fn receive<DrawStream: Unpin+Stream<Item=Draw>>(self, actions: DrawStream) -> impl Future {
        async move {
            let mut actions = actions.ready_chunks(1000);
            let target      = self;

            while let Some(drawing) = actions.next().await {
                target.write(drawing);
            }
        }
    }
///
/// Sends the results of a future to this target
///
Sends the results of a future to this target
Sends the results of a future to this target
pub fn receive<DrawStream: Unpin+Stream<Item=Draw>>(self, actions: DrawStream) -> impl Future {
        async move {
            let mut actions = actions.ready_chunks(1000);
            let target      = self;
            while let Some(drawing) = actions.next().await {
                target.write(drawing);
            }
        }
    }
pub fn receive < DrawStream : Unpin + Stream < Item = Draw > > ( self , actions : DrawStream ) -> impl Future { async move { let mut actions = actions . ready_chunks ( 1000 ) ; let target = self ; while let Some ( drawing ) = actions . next ( ) . await { target . write ( drawing ) ; } } }
Sends the results of a future to this target
Sends the results of a future to this target
self
actions
DrawStream