import * as ez from 'ez-streams'
reader = ez.devices.generic.reader(read[, stop])
creates an EZ reader from a givenread(_)
function and an optionalstop(_, [arg])
function.writer = ez.devices.generic.writer(write)
creates an ES writer from a givenwrite(_, val)
function.
ez.devices.generic.empty
The empty stream.empty.read(_)
returnsundefined
. It is also a null sink. It just discards anything you would write to it.