Initial import

This commit is contained in:
2026-06-08 12:52:50 +02:00
parent 16a3566571
commit 4e6f922109
5 changed files with 610 additions and 1 deletions
+26 -1
View File
@@ -1,3 +1,28 @@
# uni-channel
Encapsulating async-channel, port-channel and place-channel.
`uni-channel` provides a uniform facade over `async-channel`, `place-channel` and `port-channel`.
The package does not vendor `port-channel`; install `port-channel` from the Racket package index first.
```sh
raco pkg install --auto port-channel
raco pkg install --auto ./uni-channel
raco test -x -p uni-channel
raco setup --pkgs uni-channel
```
Main API:
```racket
make-uni-channel
make-uni-async-channel
make-uni-async-channel-pair
make-uni-place-channel
make-uni-place-channel-pair
make-uni-port-channel
uni-channel-put
uni-channel-get
uni-channel-send
uni-channel-recv
uni-channel-close
```