006 pump joined consumer

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

inbox closed
sent+closed
consumed 42
pump drained

Expected output

inbox closed
sent+closed
consumed 42
pump drained

Flows

flow ~std/proto click a branch to expand · @labels scroll to their anchor
std/proto (Reading, source: id: u64 ts: f64)
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: inbox, capacity: 8, source: reading: Reading)
flow ~std/channel click a branch to expand · @labels scroll to their anchor
std/channel (inbox)
flow ~mk-reading click a branch to expand · @labels scroll to their anchor
mk-reading (i: 42, t: 4.0)
flow ~create click a branch to expand · @labels scroll to their anchor
create (expr: main)
flow ~std/pump click a branch to expand · @labels scroll to their anchor
std/pump (main)
flow ~run click a branch to expand · @labels scroll to their anchor
run (main)

Test Configuration

MUST_RUN