Skip to main content

StreamBody

Type Alias StreamBody 

Source
pub type StreamBody<O, X = Thread, M = Block> = (StreamLane<O, StreamWires<O, M>, X, M>, Enrolled);
Available on crate feature runtime only.
Expand description

What Wiring::lane hands over for one STREAMING node: the lane that will drive it, and the shutdown enrolment that pairs with it.

NodeBody’s twin one face over, and it travels as a pair for the same reason: a body that will be running is a party the shutdown waits for. The downstream set is StreamWires rather than a parameter because it is the DECLARATION’s — the node states the set it publishes through and the walk fills it from the edges, so a caller that could supply its own would be naming a topology the declaration does not have.