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

Use only one RPC call for getAllData() #49

Closed
Hugoo opened this issue Oct 30, 2021 · 0 comments · Fixed by #67
Closed

Use only one RPC call for getAllData() #49

Hugoo opened this issue Oct 30, 2021 · 0 comments · Fixed by #67
Assignees
Labels
enhancement New feature or request

Comments

@Hugoo
Copy link
Contributor

Hugoo commented Oct 30, 2021

Summary

If lib wants to request multiple data keys: A,B, C
it will perform multiple: getData() calls:

  • For legacy: getData(A), getData(B), getData(C)
  • For new: getData([A]), getData([B]), getData([C])

It should instead send only one request:

  • For legacy: getDataMultiple([A, B, C])
  • For new: getData([A, B, C])
@Hugoo Hugoo added the enhancement New feature or request label Nov 23, 2021
@Hugoo Hugoo self-assigned this Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant