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

Provide API to be notified when an intent handler is installed #226

Open
danielwiehl opened this issue Mar 25, 2023 · 0 comments
Open

Provide API to be notified when an intent handler is installed #226

danielwiehl opened this issue Mar 25, 2023 · 0 comments
Assignees
Labels

Comments

@danielwiehl
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

We have a button that issues an intent when clicked. We want to disable this button while no intent handler is installed. In version 1.0.0-rc.13 this is only possible for messages sent to a topic, but not for intents.

We know that we could block startup until all activators report readiness. However, we plan to disable this feature because many activators are slowing down the application startup.

Describe the solution you'd like

Similar to MessageClient#subscriberCount$, the IntentClient provides API to observe the subscriptions for an intent, taking into account the intentions of the requesting application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants