async-iterator icon indicating copy to clipboard operation
async-iterator copied to clipboard

add the async `Iterator::filter` method

Open yoshuawuyts opened this issue 1 year ago • 1 comments

This adds an async closure-based filter method. It compiles on the latest nightly, but R-A doesn't like it one bit yet so marking this as a draft PR. This does show that the we can correctly implement async closure-based APIs using an AFIT-based async Iterator trait.

yoshuawuyts avatar Feb 16 '24 15:02 yoshuawuyts

but R-A doesn't like it one bit yet so marking this as a draft PR.

https://github.com/rust-lang/rust-analyzer/pull/16588

compiler-errors avatar Feb 16 '24 16:02 compiler-errors