Skip to content

add fallible variant to filter and map #26

@YouKnow-sys

Description

@YouKnow-sys

It'll be good and useful if methods like filter, filter_map and their async version had a fallible version too.
sometimes we want filter or map some data in our code based on fallible source (let say a database for example) currently we can't check for errors when using these methods and we can only relay on fully skipping if a error happened, this is not ideal, so having functions like try_filter and try_map could be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions