Skip to content

PollItems should have a way to get back their sockets #68

@apoelstra

Description

@apoelstra

Right now PollItems are frustrating to use because once you know there is data to be read, there is no mechanism to actually read said data (unless you remember the mapping between PollItems and Sockets).

It is possible to write a one-liner function that pulls the sock member out of a PollItem and into a Socket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions