Skip to content

stream! vs try_stream! #116

@leif-hesperides

Description

@leif-hesperides

From https://github.com/tokio-rs/async-stream/blob/7f9ef66647e4cf65340b9971219031a4b06c499b/async-stream-impl/src/lib.rs it seems that the only difference between stream! and try_stream! is that try_stream! wraps yielded items in an Ok. Is this true?

If so, adding a line saying so to the documentation might help avoid misunderstandings like #81.

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