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(client): Shape subscription status notifier #1276

Merged
merged 9 commits into from
May 20, 2024

Conversation

msfstef
Copy link
Contributor

@msfstef msfstef commented May 16, 2024

The usual notifier pattern but for shape subscription status

Added callback to shape manager to internalize notifying logic entirely to the shape manager rather than having arbitrary calls within the satellite process

We could add additionall utility to subscribe to particular subscription with a given key but I think for now just having this general notifier method will cover use cases that need it, we don't need to expose/document it.

@msfstef msfstef marked this pull request as ready for review May 16, 2024 17:43
Copy link
Contributor

@kevin-dp kevin-dp left a comment

Choose a reason for hiding this comment

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

LGTM 👍

clients/typescript/src/notifiers/event.ts Outdated Show resolved Hide resolved
clients/typescript/src/notifiers/index.ts Outdated Show resolved Hide resolved
@msfstef msfstef merged commit 276149d into main May 20, 2024
10 checks passed
@msfstef msfstef deleted the msfstef/shape-sub-status-notifier branch May 20, 2024 15:34
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