Skip to content

join().await vs join!()Β #2127

@kuviman

Description

@kuviman

So, it seems to me that join! macro and fn join should behave similarly, but the difference between them is that fn returns a Future, while macro returns future's result (.await is included in the macro) and is only available in async context.

I think it would be better if the macro was changed to behave like the function. I think explicit .await after the macro call is actually better than implicit anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions