Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjroach committed Aug 9, 2023
1 parent 173a7e9 commit be50107
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ internal class CredentialStoreClient(configuration: AuthConfiguration, context:
}
}

/*
This class is a necessary workaround due to undesirable threading issues within the Auth State Machine. If state
machine threading is improved, this class should be considered for removal.
*/
internal class OneShotCredentialStoreStateListener(
val onSuccess: (Result<AmplifyCredential>) -> Unit,
val onError: (Exception) -> Unit,
Expand Down

0 comments on commit be50107

Please sign in to comment.