Why Nostr? What is Njump?
2023-11-23 20:29:43
in reply to

Sven A. Schmidt on Nostr: npub1sy696…g5dxr Why not just var results = [Data]() for url in urls { let res = ...

Why not just

var results = [Data]()
for url in urls {
let res = try await downloadStuff(url: url)
results.append(res)
}

Or is that what you mean by “AsyncSequence”? I’m guessing not, because that’s a regular sequence.
Author Public Key
npub1y5pc9k9r2srfqkju0jqhgvvuw7z7j9e4fya0wsllk9nmgfmr2lrqlngg3h