You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
transport: Add convenience methods for common operations
Add Sender::notify() and Sender::notify_with_fds() to reduce the
boilerplate of constructing notification messages manually. Previously
this required 4-5 lines of nested object construction.
Add Receiver::receive_opt() which returns Ok(None) on connection close
instead of Err(ConnectionClosed). This enables cleaner receiver loops:
while let Some(msg) = receiver.receive_opt().await? { ... }
Also make UnixSocketTransport::new() return Self instead of Result<Self>
since it cannot fail.
Assisted-by: OpenCode (Opus 4.5)
Signed-off-by: Colin Walters <walters@verbum.org>
0 commit comments