on master help sign in
gall-guide: tweaks/typos types reference
commit32208071b330523ff076555403205de4faaa1b09 authorTinnus Napbus <admin@tinnus-napbus.xyz> dateSun 21 Nov 2021, 05:36 (5 years ago) parent58a614b
1 file changed+6−2
content/docs/userspace/gall-guide/types.md+6−2
content/docs/userspace/gall-guide/types.md+6−2
@@ -1,6 +1,6 @@
11+++
22title = "Appendix: Types"
3−weight = 60
3+weight = 65
44template = "doc.html"
55+++
66
@@ -198,7 +198,11 @@ The type of a wire is formally defined as:
198198```
199199
200200So, a `wire` is just a [`path`](#path), type-wise they're exactly the same. The
201−reason there's a separate `wire` type is just to differentiate their purpose. A `wire` is a path for responses to requests an agent initiates. If you subscribe to the `path` `/some/path` on another agent, you also specify `/some/wire`. Then, when that agent sends out updates to subscribers of `/some/path`, your agent receives them on `/some/wire`.
201+reason there's a separate `wire` type is just to differentiate their purpose. A
202+`wire` is a path for responses to requests an agent initiates. If you subscribe
203+to the `path` `/some/path` on another agent, you also specify `/some/wire`.
204+Then, when that agent sends out updates to subscribers of `/some/path`, your
205+agent receives them on `/some/wire`.
202206
203207The `wire` is specified in the second argument of a `%pass` `card`. It's used
204208for anything you can `%pass`, such as `%poke`s, `%watch`es, and `%arvo` notes.