Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Restrict how many packet callbacks can be called #29

@harlowja

Description

@harlowja

Sometimes you only want to unpack 3 (for example) objects from a stream and stop unpacking after that many, it appears the current StreamProtocolHandler will continue unpacking forever, vs unpacking 3 and then stopping. It'd be nice to be able to restrict it to a given amount of unpacks (and default to infinite to retain the existing behavior)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions