Is there a way to cancel, for example, Amplify.Auth.signIn(...)? AWSMobileClient, AWS' older auth solution, has something like releaseSignInWait(...) that can be used, it looks like. But I am using Amplify Library for iOS. I have to confess that it is not really clear to how Amplify Auth and AWSMobileClient modules differ. I had had issues with AWSMobileClient, so I switched to Amplify Library.
import Amplify
import AmplifyPlugins
import AWSPluginsCore
_ = Amplify.Auth.signIn(username: username, password: password) { result in
...
}
I would like to have the ability to cancel this operation, say, if the user wishes to abort logging in.