Quick / Nimble

A Matcher Framework for Swift and Objective-C
https://quick.github.io/Nimble/documentation/nimble/
Apache License 2.0
4.8k stars 596 forks source link

Implement the async variant of toEventually using structured concurrency #1079

Closed younata closed 11 months ago

younata commented 1 year ago

This replaces the Dispatch-based version of async toEventually with one that uses native Swift Concurrency components This was done to eliminate the chance that the matcher could be polled more than one at a time, and to also make way for future Sendable requirements.

This is a drop-in replacement for the Dispatch-Based approach to the async variant.

The PR should summarize what was changed and why. Here are some questions to help you if you're not sure:

Checklist - While not every PR needs it, new features should consider this list: