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

Service client behaviour #103

Open
stonier opened this issue Sep 17, 2019 · 1 comment
Open

Service client behaviour #103

stonier opened this issue Sep 17, 2019 · 1 comment

Comments

@stonier
Copy link
Member

stonier commented Sep 17, 2019

A common pattern is to shoot off a service request. Probably need to handle:

  • Type
  • Service Name
  • Request (either pass in the constructor or point to a blackboard variable)
  • Functional callback for the response (pass in the constructor)
@stonier
Copy link
Member Author

stonier commented Sep 18, 2019

Needs to be non-blocking so as not to blow up the tree. So ... drop into running while it's waiting for it's future and then have a callback handler for the response to flip it to success / failure on future ticks.

@stonier stonier reopened this Sep 18, 2019
@stonier stonier added this to the 1.2 - Eloquent milestone Sep 18, 2019
@stonier stonier changed the title [behaviours] service client behaviour Service client behaviour Sep 18, 2019
@stonier stonier modified the milestones: 1.2 - Dashing, 2.0 - Eloquent Dec 30, 2019
@stonier stonier modified the milestones: 2.0 - Eloquent, ToDo Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant