The abort method signals that the producer can no longer successfully write to the stream and it should be immediately moved to an "errored" state, with any queued-up writes discarded.
spec specifies Any (!?)
The close method signals that the producer is done writing chunks to the stream and wishes to move the stream to a "closed" state.
a promise of this stream being closed
The closed getter returns a promise that will be fulfilled when the stream becomes closed, or rejected if it ever errors.
The ready getter returns a promise that will be fulfilled when the stream transitions away from the "waiting" state to any other state.
The state getter returns the state of the stream see ¶220.127.116.11. get state of whatwg streams spec
The write method adds a write to the stream’s internal queue, instructing the stream to write the given chunk of data to the underlying sink once all other pending writes have finished successfully .
bblfish: not sure what the type of the promise returned is