Check if the stream has been closed
Check if the stream has been closed
The #close()
operation should be idempotent.
The #close()
operation should be idempotent. It should be no problem with closing the same object twice.
The close operation should cancel the current operation if possible. The close should throw exception only
in serious cases (for example in case of data loss, or inconsistent data)
a promise that resolves when object finishes closing
If true, stream has been closed
If true, stream has been closed
Read some data from input.
The null input