Closed vstakhov closed 1 year ago
This PR adds _priority set of methods to send messages over channels with higher priority.
_priority
TODO: document the logic and add proc-macro support to the orchestra
The MeteredSender should wrap a priority_channels Vec<Sender<MaybeTimeOfFlight<T>>> instead of Option. Then we can poll these first before the bulk one.
MeteredSender
priority_channels Vec<Sender<MaybeTimeOfFlight<T>>>
Yes, I also like this idea.
This PR adds
_priority
set of methods to send messages over channels with higher priority.TODO: document the logic and add proc-macro support to the orchestra