Skip to content

Conversation

@hanazuki
Copy link
Contributor

This patch teaches Promises.any_fulfilled_future to treat a resolved Event as a fulfilled Future value of nil.

Closes: #963

This patch teaches `Promises.any_fulfilled_future` to treat a resolved
`Event` as a fulfilled `Future` value of `nil`.

Closes: ruby-concurrency#963
Co-authored-by: Petr Chalupa <[email protected]>
Copy link
Collaborator

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@eregon eregon merged commit 8a84b9a into ruby-concurrency:master Dec 21, 2022
@hanazuki hanazuki deleted the Promises.any_fulfilled_future-event branch December 22, 2022 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Promises.any_fulfilled_future does not accept an Event

2 participants