You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of the Trait Stream for Subscriber returns only one item from the buffer. Make an alternative version, perhaps called VectoredSubscriber, whose stream would always return a vector of items filled will all the items from the channel until the try_recv method returns TryRecvError::Empty.
This would optimize Task generation, and Task wake-ups in async operations.
The text was updated successfully, but these errors were encountered:
filipdulic
changed the title
Implement a version of Subscriber that returns a vector of data instead of a single item.
Implement a version of GenericSubscriber and GenericAsyncSybscriber that returns a vector of data instead of a single item.
May 14, 2020
The current implementation of the Trait Stream for Subscriber returns only one item from the buffer. Make an alternative version, perhaps called VectoredSubscriber, whose stream would always return a vector of items filled will all the items from the channel until the try_recv method returns TryRecvError::Empty.
This would optimize Task generation, and Task wake-ups in async operations.
The text was updated successfully, but these errors were encountered: