diff --git a/chapter_2/chapter_2_4.html b/chapter_2/chapter_2_4.html index 8b7f9176b..2ca440c35 100644 --- a/chapter_2/chapter_2_4.html +++ b/chapter_2/chapter_2_4.html @@ -199,7 +199,8 @@
What is going on here? The heart of the mess is the dataflow operator unary
, which is a ready-to-assemble dataflow operator with one input and one output. The unary
operator takes three arguments (it looks like so many more!): (i) instructions about how it should distribute its inputs, (ii) a tasteful name, and (iii) the logic it should execute whenever timely gives it a chance to do things.
This example just captures an integer, but you could just as easily define and capture ownership of a HashMap
, or whatever complicated state you would like repeated access to.
What is going on here? The heart of the mess is the dataflow operator unary
, which is a ready-to-assemble dataflow operator with one input and one output. The unary
operator takes three arguments (it looks like so many more!): (i) instructions about how it should distribute its inputs, (ii) a tasteful name, and (iii) the logic it should execute whenever timely gives it a chance to do things.
This example just captures an integer, but you could just as easily define and capture ownership of a HashMap
, or whatever complicated state you would like repeated access to.