Skip to content

Commit 5a53a5d

Browse files
committed
Rust: Allow Agents to hold onto a Client and vice versa
- Replace ClientSideConnection/AgentSideConnection structs with type aliases to RpcConnection - RpcConnection::new now accepts a handler factory FnOnce(Rc<Self>) and returns Rc<Self> Before, there wasn't a way for an Agent to hold onto a way to communicate with the Client and vice versa. Now they can. This matches the behavior in the TS SDK Signed-off-by: Ben Brandt <benjamin.j.brandt@gmail.com>
1 parent 94015cb commit 5a53a5d

5 files changed

Lines changed: 184 additions & 232 deletions

File tree

0 commit comments

Comments
 (0)