diff --git a/website/docs/concepts/agents.md b/website/docs/concepts/agents.md index 637096d84f7..db1e877d837 100644 --- a/website/docs/concepts/agents.md +++ b/website/docs/concepts/agents.md @@ -36,6 +36,8 @@ In order for agents to run concurrently, Yew uses [web-workers](https://develope A bridge allows bi-directional communication between an agent and a component. Bridges also allow agents to communicate with one another. +A `use_bridge` hook is also provided to create bridges in a function component. + ### Dispatchers A dispatcher allows uni-directional communication between a component and an agent. A dispatcher allows a component to send messages to an agent.