lsp-docs 0.1.1

Static structured documentation for the Axon language, embedded at compile time. Consumed by axon-lsp's hover and completion resolvers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
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.