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

Consider adding observeaction operations #1775

Closed
benfrancis opened this issue Feb 23, 2023 · 3 comments
Closed

Consider adding observeaction operations #1775

benfrancis opened this issue Feb 23, 2023 · 3 comments
Labels
ActionAffordance Topic realtated to the Actions Affordance Defer to TD 2.0

Comments

@benfrancis
Copy link
Member

Currently it's possible to observe properties and subscribe to events, but the status of an action has to be polled with a queryaction operation. It would be more efficient in many protocols (e.g. HTTP using Server-Sent Events) to "observe" an action so that status changes are pushed to the Consumer.

Potential new operation types:

  • observeaction
  • unobserveaction
  • observeallactions
  • unobserveallactions
  • observemultipleactions
  • unobservemultipleactions
@benfrancis benfrancis added ActionAffordance Topic realtated to the Actions Affordance Defer to TD 2.0 labels Feb 23, 2023
@github-actions github-actions bot added the needs-triage Automatically added to new issues. TF should triage them with proper labels label Feb 23, 2023
@egekorkan egekorkan removed the needs-triage Automatically added to new issues. TF should triage them with proper labels label Feb 24, 2023
@egekorkan
Copy link
Contributor

In principle, I agree with the different semantics of these different operations. The one issue I have is that we will have way too many operations and it will be difficult for readers to keep track of them.

@lu-zero
Copy link
Contributor

lu-zero commented Mar 12, 2023

#1692 is the original discussion about it.

@benfrancis
Copy link
Member Author

Thanks, closing as duplicate of #1692.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ActionAffordance Topic realtated to the Actions Affordance Defer to TD 2.0
Projects
None yet
Development

No branches or pull requests

3 participants