---
title: Stream.Status.writing
framework: foundation
role: symbol
role_heading: Case
path: foundation/stream/status/writing
---

# 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

```swift
case writing
```

## See Also

### Enumeration Cases

- [Stream.Status.atEnd](foundation/stream/status/atend.md)
- [Stream.Status.closed](foundation/stream/status/closed.md)
- [Stream.Status.error](foundation/stream/status/error.md)
- [Stream.Status.notOpen](foundation/stream/status/notopen.md)
- [Stream.Status.open](foundation/stream/status/open.md)
- [Stream.Status.opening](foundation/stream/status/opening.md)
- [Stream.Status.reading](foundation/stream/status/reading.md)
