Closed maxxfrazer closed 10 months ago
@dhwaneetbhatt @SahilChoudhary22 you helped me with my last Swift codegen update, hopefully you see this as an improvement too!
TIL await URLSession.shared.data
isn't available on linux? will take a deeper dive.
Going to skip this PR. Unfortunately async isn’t available on Linux exactly the same way as it is for iOS/macOS etc. I think a huge majority of Swift developers would benefit from it, but unfortunately not all of them.
false
, traditional completion handler style.The async code looks like:
Current non-async code:
IMO the async method should be default, but wanted to get your feedback first!