streams
atomize state access
examples: eofs etc