@mattiemMatt Massicotte @donnywals @swiftleeAntoine van der SwiftLee As concurrency champions, any idea on how to make some kind of equivalence to RxSwift/Combine onSubscribed? The idea is to launch an async operation as soon as a stream is started, and handling any error from the operation and propagating it to the main stream.
Here's what I'm using now, but not really happy with that…
gist.github.com/jdanthinne/f45

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/jeromedanthinne/statuses/115565831528229243 on your instance and quote it. (Note that quoting is not supported in Mastodon.)