3 ms·
Most definitely. There's a less nice-looking macro, acall, that lets you specify capture: acall [&,copyMe] { … } In most cases, though, async will be used
by Sidnicious 12y ago
Most definitely. There's a less nice-looking macro, acall, that lets you specify capture:
acall [&,copyMe] { … }
In most cases, though, async will be used inside an await block; everything surrounding the await stays in scope.