---
name: Stream
kind: type
since: 0.1
stability: stable
---

Bounded stream with an explicit backpressure policy.

`Stream<T>` produces values of type `T` lazily, governed by one of
the closed catalogue of policies declared on the consumer side
(`drop_oldest`, `drop_newest`, `block`, `error`). The type system
enforces that every `Stream<T>` value is consumed under a policy
or explicitly closed — leaks are a compile-time error.
