Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Rename poll_oneoff to poll_list, add poll_one #22

@sunfishcode

Description

@sunfishcode

The name "oneoff" was never very evocative, so I propose we rename it to poll_list because it polls a list of pollables.

Also, for convenience because it's a common case when writing simple examples and when compiling blocking code, I propose we add a poll_one function that just takes one pollable.

I'd ideally like to make these changes at the same time as converting to resources, to minimize churn in downstream users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions