# Fiber.Status

> `Fiber.Status` describes the current status of a [Fiber](fiber.md).

`Fiber.Status` describes the current status of a [Fiber](fiber.md).

Each fiber can be in one of the following status:

- Done
- Running
- Suspended

In the following example, we are going to `await` on a never-ending fiber and determine the id of that fiber, which we are blocking on:

```scala

for {
  f1 <- ZIO.never.fork
  f2 <- f1.await.fork
  blockingOn <- f2.status
    .collect(()) { case Fiber.Status.Suspended(_, _, blockingOn) =>
      blockingOn
    }
    .eventually
} yield (assert(blockingOn == f1.id))
```

## See Also

- [Introduction to ZIO Fibers](index.md)
