Defines a Stream data type