WriteStatus: "ready" | "writing" | "done" | "closing" | "closed"

The states the writable end of a stream can be in

ready - the writable end is ready for writing writing - the writable end is in the process of being written to done - the source passed to the .sink function yielded all values without error closing - the writable end is closing closed - the writable end has closed