From bf756663befa88431f69ffdc5e9ff876b90942ae Mon Sep 17 00:00:00 2001 From: Kaede Hoshikawa Date: Fri, 12 Nov 2021 10:57:36 +0900 Subject: [PATCH] Add documentation. --- website/docs/concepts/agents.md | 2 ++ 1 file changed, 2 insertions(+) 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.