-
Hi all, I wanted to start a discussion here about something that would affect our public APIs and the future of this SDK. Since Apple has backported async language features to previous versions of Apple platforms that we as an org would like to support, we feel comfortable refactoring the SDK internals to remove all use of completion handlers and remove the public completion handler apis as well. Post refactor, we would ONLY offer the async APIs in the SDK and completion handlers would be gone. Before we go down this road since it is very much a one way door, we would LOVE community input here. Do you guys have concerns from a business standpoint or a technical standpoint with this decision? From an AWS perspective, we are in full support of this decision but our customers come first. Please let us know below. :) |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 5 replies
-
Speaking strictly from my own personal opinion, I think this is an awesome idea! Async/await code is considerably easier to both write and read than any other paradigm I've encountered - and it seems to me that this is exactly the kind of thing that back-deployment support was intended to enable. |
Beta Was this translation helpful? Give feedback.
-
Seems to me that a deprecation story would be more desirable from an api consumer point of view. |
Beta Was this translation helpful? Give feedback.
-
I think this is a great idea - especially since the goal of the community seems to be moving in the direction of async-first over the coming months. Thanks for you and your team's hard work on this! |
Beta Was this translation helpful? Give feedback.
-
Hi Nicki, totally agree with the removal of completion handlers and the offering of only async APIs. |
Beta Was this translation helpful? Give feedback.
-
In my opinion: It would be better to only support async/await. It is not imaginable developers using the 'completionHandlers' api just creating wrappers around them and having those around could add confusion to new comers of the api. |
Beta Was this translation helpful? Give feedback.
-
Async API's are the way to go, so ... don't hesitate to drop old APIs when needed. |
Beta Was this translation helpful? Give feedback.
-
Drop completion handlers--they have tortured me enough. |
Beta Was this translation helpful? Give feedback.
-
FYI folks, all the PRs are up for this change to happen, I am just blocked on a few bugs in the backport for Big Sur and some lacking things in XCTest on Linux so can't merge them yet. but the work is done! hopefully soon as Apple releases more fixes and new things. |
Beta Was this translation helpful? Give feedback.
-
FYI all PRs have now been merged! Release is about to go out and will be version 0.2.0! @ToddHoff |
Beta Was this translation helpful? Give feedback.
FYI all PRs have now been merged! Release is about to go out and will be version 0.2.0! @ToddHoff