xtra icon indicating copy to clipboard operation
xtra copied to clipboard

🎭 A tiny actor framework

Results 36 xtra issues
Sort by recently updated
recently updated
newest added

Prior to this patch-set, we had constructs like `MessageType` and `SentMessage`. These were used to write code that is generic over a particular message type. In reality however, we don't...

This introduces a generic `ChanPtr` type which adds reference counting to the channel. This allows us to remove the `Sender` type and promote `inbox::Receiver` to a (future public) `Mailbox` type....

In case the user passes a capacity, we know how many elements we will be storing in those queues. We can initialise them directly with this capacity which avoids growing...

This is a PoC for #126. It didn't quite turn out the way I wanted but I am putting it up anyway so gather some feedback.

With https://github.com/Restioson/xtra/pull/85, we are introducing 3 mailboxes: ordered, prioritized and broadcast. Ordered exists because `BinaryHeaps` don't preserve insertion order and thus, messages with the same priority (like 0 as the...

This creates consistency with the `send_future` module. To achieve this, we temporarily make the fields of `Receiver` public. This will go away once we merge #158 because it allows us...

When `split_receiver` is used and the receiver is discarded, the `xtra_actor_request` span will still include the message handling time, which will lead to the containing span being longer than it...

Lots of good PRs have been merged into master since the last release. I'd like to make an effort to finalise the public API so we can push a new...