3 ms·
I can see a use case for `await` in comprehensions- e.g. responses = [await r() for r in requests] ... but, what's the 'practical' application of `async` in
by tejasmanohar 10y ago
I can see a use case for `await` in comprehensions- e.g.
responses = [await r() for r in requests]
... but, what's the 'practical' application of `async` in comprehensions? I can't think of one that shouldn't call an independent `async` function for readability.