-
Notifications
You must be signed in to change notification settings - Fork 656
Open
Labels
A-futureArea: futures::futureArea: futures::futureA-macroArea: macro relatedArea: macro relatedC-questiondocs
Description
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.
Longsueynin and Logarithmus
Metadata
Metadata
Assignees
Labels
A-futureArea: futures::futureArea: futures::futureA-macroArea: macro relatedArea: macro relatedC-questiondocs