Expand description
Request-response primitive for actor messaging.
Provides a cfg-gated Reply<T> / ReplyReceiver<T> pair:
- Native: Wraps
tokio::sync::oneshot— the handler.awaits the receiver - DST: Wraps
Rc<RefCell<Option<T>>>— the client reads afterrun_until_idle()
Structs§
- Reply
- Sender half of a reply channel (native).
- Reply
Receiver - Receiver half of a reply channel (native).
Functions§
- reply_
channel - Create a linked reply channel pair.