Stream.Status.writing
Data is being written to the stream. This status would be returned if code on another thread were to call Streamstatus on the stream while a Write(_:maxlength:) call (Outputstream) was in progress.
Declaration
case writingData is being written to the stream. This status would be returned if code on another thread were to call Streamstatus on the stream while a Write(_:maxlength:) call (Outputstream) was in progress.
case writing