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

Batch mode #1

Open
mehaase opened this issue Apr 2, 2020 · 0 comments
Open

Batch mode #1

mehaase opened this issue Apr 2, 2020 · 0 comments

Comments

@mehaase
Copy link
Contributor

mehaase commented Apr 2, 2020

Section 6 of the JSON-RPC spec defines "batch mode", where multiple request are sent in a single message. It's kind of a silly part of the spec, but in order to be compliant we do need to support it. It complicates the API design since the spec allows for requests in a batch to be processed concurrently, which means we probably can't abstract over the difference between a batch and a single request. We'll have to expose this detail to downstream implementations.

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