a node-style fifo stream