This website requires JavaScript.
Explore
Help
Sign in
zacheryasc
/
swactor
Watch
1
Star
0
Fork
You've already forked swactor
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
759acc622d
swactor
/
README.md
3 lines
46 B
Markdown
Raw
Normal View
History
Unescape
Escape
feat: types for request/response handling Introduce a typed `ActorRequestSender` connection handle for actors and harden the `Error` type. - src/lib.rs: add `ActorRequestSender<A>` wrapping `mpsc::Sender<ActorRequest<A>>` with async `send`, `Clone`, and `From` impls; expose it via new `Handle::get_connection()` so callers hold a lightweight standalone connection to an actor - src/lib.rs: route `Handle::send` through the new sender and store `tx` as an `ActorRequestSender`; drop the `Unpin` supertrait bound from the `Actor` trait - src/error.rs: turn the `Error` type alias into a newtype struct, gate `convert_err` as `pub(crate)`, and add `From<T: AsRef<str>>` plus `ToString` impls - examples/hello.rs: switch `Greeter::spawn` to method-call syntax (`Greeter.spawn(&rt)`) to match the updated API - README.md: rename the project heading from "about" to "swactor" Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2025-11-26 01:51:13 +00:00
# swactor
init Skeletal actor framework. Somewhat unweildy, needs a message box, a better runtime, and different channels. However, hello world example works Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2025-11-25 00:39:17 +00:00
Small wasm-compatible actor library
Reference in a new issue
Copy permalink