Expand description
Actor mailbox and message sending types.
This module provides:
§Platform Differences
- Native: Uses
crossbeam-channelfor lock-free message passing between threads - WASM: Uses
Rc<RefCell>processor for inline (synchronous) message handling
Structs§
- Actor
Ref - Handle to send messages to an actor.
Enums§
- AskError
- Error returned when an ask (request-response) fails.
- Recv
Error - Error when receiving blocks.
- Recv
Timeout Error - Error when receiving with timeout.
- Send
Error - Error returned when sending a message fails.
- TryRecv
Error - Error when trying to receive without blocking.