Skip to content

Commit a31ce6a

Browse files
channels: initial content
Summary: adds channels section to the book toc and stubs out pages (index, tx_rx, addresses, transports, frames). updates readme and introduction to reference channels. Reviewed By: colin2328 Differential Revision: D80594232 fbshipit-source-id: c0d4e61b818e72478d9eda4d875c4be88408660e
1 parent 931566b commit a31ce6a

File tree

8 files changed

+23
-2
lines changed

8 files changed

+23
-2
lines changed

docs/source/books/hyperactor-book/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ This is the development documentation for the hyperactor system, built using [`m
88
99
./src/introduction
1010
./src/refrences
11-
mailbox
1211
macros
12+
mailbox
13+
channels
1314
actors
1415
summary
1516
```

docs/source/books/hyperactor-book/src/SUMMARY.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
- [Delivery Semantics](mailboxes/delivery.md)
2121
- [Multiplexers](mailboxes/multiplexer.md)
2222
- [Routers](mailboxes/routers.md)
23+
- [Channels](channels/index.md)
24+
- [Transmits and Receives](channels/tx_rx.md)
25+
- [Channel Addresses](channels/addresses.md)
26+
- [Transports](channels/transports.md)
27+
- [Frames](channels/frames.md)
2328
- [Actors](actors/index.md)
2429
- [Actor](actors/actor.md)
2530
- [Handler](actors/handler.md)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Channel Addresses
2+
3+
Channel addresses (`ChannelAddr`) identify endpoints and encode transport type (tcp, unix, local, sim, etc.).
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Frames
2+
3+
Frames define the wire format. A length-prefixed protocol carries serialized messages and acknowledgements. `FrameReader` and `FrameWrite` ensure cancellation safety.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Channels
2+
3+
Channels provide one-way, typed message passing between processes. They abstract over multiple transports while offering a uniform Tx/Rx API.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Transports
2+
3+
Different transports implement the channel abstraction: Local (in-process), Tcp, Unix, MetaTls, and Simulated.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Transmits and Receives
2+
3+
Transmit (`Tx`) and receive (`Rx`) ends define the basic channel interface. `Tx` can post or send messages, `Rx` can asynchronously receive them.

docs/source/books/hyperactor-book/src/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ We hope this becomes the book we wish we had when we started working with Monarc
1212
1313
./actors/index
1414
./macros/index
15+
./channels/index
1516
./mailboxes/index
1617
./references/index
1718
./SUMMARY.md
18-
1919
```

0 commit comments

Comments
 (0)