Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve EventEmitter implementation #241

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Feb 15, 2024

What kind of change does this PR introduce?

fix / refactor

What is the current behavior?

Listening for auth change events is implemented only by Swift Async/Await, this has some inconsistencies, such as not emitting the initialSession.

What is the new behavior?

Refactor implementation to use closure based listeners, and make async/await API use closure based internally

@grdsdev grdsdev marked this pull request as ready for review February 15, 2024 23:02
@grdsdev grdsdev merged commit 765b401 into main Feb 15, 2024
6 checks passed
@grdsdev grdsdev deleted the feat/better-initial-session-handling branch February 15, 2024 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant