|
|
|
|
|
by jayd16
331 days ago
|
|
you mean like? await Join(f1(), f2())
Although more realistically Promise1 = f1(); Promise2 = f2();
await Join(Promise1, Promise2);
But also, futures are the expression of lazy values so I'm not sure what else you'd be asking for. |
|
On the other hand, it is necessary becase some of underlying async calls can be order dependend.
for example
checks that first received socket byte is A and second is B. This is clearly order dependant that can't be executed concurrently out of order.