-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pollable: add methods block & ready, rename poll-list to poll (#54)
* rename `poll-one` to `pollable.block`, and add `ready` method The name `poll-one` is very easily confused with `poll-oneoff`, the previous name of `poll-list` during WASI preview 1 and much of the development of Preview 2. Inspecting if a poll is ready without blocking was requested in #51 * rename `poll-list` to `poll` With `poll-one` renamed to `pollable.block`, there is no longer a distinction required between `poll-list` and `poll-one`, so change this name to the simplest name that can possibly work.
- Loading branch information
Pat Hickey
authored
Oct 31, 2023
1 parent
1a4b44c
commit ee24d1f
Showing
2 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters