Skip to content

Implement a version of GenericSubscriber and GenericAsyncSybscriber that returns a vector of data instead of a single item. #50

@filipdulic

Description

@filipdulic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions