005 close then drain

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

drain 11
drain 22
closed after drain

Expected output

drain 11
drain 22
closed after drain

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: 4, source: reading: Reading)
flow ~mk-reading click a branch to expand · @labels scroll to their anchor
mk-reading (i: 11, t: 1.0)

Test Configuration

MUST_RUN