Tracking issue for closures in futures 0.4 combinators #2755
Labels
A-future
Area: futures::future
A-stream
Area: futures::stream
S-needs-api-design
Status: Before implementing this, a discussion or decision on the new API is needed.
Milestone
This is a tracking issue for consistency in APIs that use closures in futures 0.4.
For individual cases, see below. (Especially #1889, #2470, and #2518 have some discussion on this)
StreamExt::filter
andStreamExt::filter_map
require functions that returns futures #1987StreamExt::filter_map
#2237TryStreamExt
andStreamExt
#2518(I created this issue to avoid duplication of discussion between them.)
In most cases, the APIs where people are unhappy seem to be filter-related. (Note that this does not necessarily mean that "many people are unhappy with the current filter-related API" since those who are not unhappy with the current API will not leave comments.)
The text was updated successfully, but these errors were encountered: