Server Downlinks
In the Web Agents guide, we describe a distributed object model where Web Agents are the objects and lanes are fields. Downlinks are bidirectionally-streaming, persistent subscriptions to lanes. Subscriptions enable downlinks to read, process events from the lane and run event handlers.
There are three types of downlinks:
- Event Downlinks provide a read-only view of a lane which holds a scalar type or is stateless; such as a Value Lane or a Command Lane.
- Value Downlinks synchronises a shared real-time value with a Value Lane and allows write access to the lane’s state.
- Map Downlinks synchronises a shared real-time key-value map with a Map Lane and allows write access to the lane’s state.