Gets the write timeout for the stream.
The duration to set the timeout for.
StreamCannotTimeoutException if the stream does not support timeouts. StreamDisposedException if the stream has been disposed of.
See Implementation
Gets the write timeout for the stream.