Skip to main content

simple/
simple.rs

1use timely::dataflow::operators::{Inspect, vec::ToStream};
2
3fn main() {
4    timely::example(|scope| {
5        (0..10).to_stream(scope)
6               .inspect(|x| println!("seen: {:?}", x));
7    });
8}