xtra
xtra copied to clipboard
🎭 A tiny actor framework
As part of doing https://github.com/Restioson/xtra/pull/122, I started to form the following vision: - `Chan` should be the core channel implementation of the library, #122 gets us most of the way...
It is hard to know whether Xtra uses bounded or unbounded channels and how to set them up. Searching documentation for "bounded" does not lead to any hints. It is...
This is probably more something to be added in an extension crate, but it would be cool to be able to define actors from closures: ```rust let initial_state = 0u64;...
Extracted out of #71. This should be introduced via an extension crate to not grow the core API of xtra unnecessarily. It is important that this must work only on...
In https://github.com/Restioson/xtra/issues/119 and other places, we have discussions that ultimately come down to optimising for different goals. I am opening this issue to propose and discuss a manifest that states...
xtra is by design small and thus, I think a big contestor for people making a decision on what to use might be tokio's or futures' mpsc channels, spawned as...
Currently, defining a `Handler` requires the usage of `async_trait` and filling in various elements into a trait impl. In theory however, a macro can learn all required pieces of information...
A `Context` is usually not available other than from within an actor's `Handler` and thus, this feature cannot be used from all places. I'd claim that most likely, a piece...
1. We only use `futures-util`'s `alloc` feature in the tests. 2. `futures-core` only has one feature and that is alloc and it is on by default.