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
15
16
17
18
---
name: Channel
kind: type
since: 0.1
stability: stable
---

First-class typed channel.

`Channel<T>` carries values of payload type `T` between producers
and consumers in a π-calculus mobility model. Channels are
declared at the top level (see the `channel` syntax keyword) and
referenced by name in handler bodies via `emit`, `listen`,
`publish`, and `discover`.

Second-order channels are written `Channel<Channel<T>>` — they
carry channel handles by value, enabling dynamic discovery and
broker-style topologies.