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

Ensure that broadcast/request/stream/wait_for cannot be called prior to running the endpoint. #114

Open
pipermerriam opened this issue Jun 1, 2019 · 0 comments

Comments

@pipermerriam
Copy link
Member

What was wrong?

It should result in an error to call any of the following APIs if the endpoint is not yet running.

  • EndpointAPI.broadcast
  • EndpointAPI.request
  • EndpointAPI.stream
  • EndpointAPI.wait_for

How can it be fixed?

Add tests to ensure these all throw friendly useful errors when called prior to the endpoint being running or after the endpoint has stopped. Ideally we figure a way to do this with as little runtime overhead as possible.

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

No branches or pull requests

1 participant