Channel
channel — API Reference
Section titled “channel — API Reference”Import:
std/channel.axs
Public Functions (7)
Section titled “Public Functions (7)”| Function | Signature | Return Type |
|---|---|---|
chan_new | (capacity: i64) | i64 |
chan_send | (ch: i64, value: i64) | void |
chan_recv | (ch: i64) | i64 |
chan_try_send | (ch: i64, value: i64) | i64 |
chan_len | (ch: i64) | i64 |
chan_close | (ch: i64) | void |
chan_free | (ch: i64) | void |
Signatures
Section titled “Signatures”chan_new(capacity: i64) → i64chan_send(ch: i64, value: i64) → voidchan_recv(ch: i64) → i64chan_try_send(ch: i64, value: i64) → i64chan_len(ch: i64) → i64chan_close(ch: i64) → voidchan_free(ch: i64) → voidFFI Extern Declarations (7)
Section titled “FFI Extern Declarations (7)”These are private C/system function bindings used internally by the module.
| Symbol | Parameters | Return Type |
|---|---|---|
rt_chan_new | i64 | i64 |
rt_chan_send | i64, i64 | void |
rt_chan_recv | i64 | i64 |
rt_chan_try_send | i64, i64 | i64 |
rt_chan_len | i64 | i64 |
rt_chan_close | i64 | void |
rt_chan_free | i64 | void |
Auto-generated from std/channel.axs by scripts/gen_docs.sh