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

feat(realtime): add closure based methods #345

Merged
merged 4 commits into from Apr 20, 2024
Merged

Conversation

grdsdev
Copy link
Collaborator

@grdsdev grdsdev commented Apr 18, 2024

What kind of change does this PR introduce?

Add closure based methods for RealtimeChannel:

Current behavior

Library currently exposes only methods that returns an AsyncStream to be used in Swift Concurrency model.

New behavior

This PR add closure based methods onPostgresChange, onBroadcast, and onPresenceChange

@grdsdev grdsdev requested a review from dshukertjr April 18, 2024 13:40
@grdsdev grdsdev marked this pull request as ready for review April 18, 2024 13:41
@grdsdev grdsdev enabled auto-merge (squash) April 19, 2024 15:35
Copy link
Member

@dshukertjr dshukertjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@grdsdev grdsdev merged commit dfe09bc into main Apr 20, 2024
7 checks passed
@grdsdev grdsdev deleted the feat/closure-based-methods branch April 20, 2024 01:44
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.

None yet

2 participants