Open
Description
The StreamExt::map()
, StreamExt::filter_map()
in the futures
crate accepts async functions which resolve to an <T>
/Option<T>
, whereas the same methods in the futures-lite
crate accept normal functions which are meant to return <T>
/Option<T>
. (there are other similar methods as well)
I don't know if this is by design or a mistake, but since this crate is supposed to be fully compatible with the futures
crate, I think these methods should be changed accordingly.
Metadata
Metadata
Assignees
Labels
No labels