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

Presentation: Stream result sets as the requests are fulfilled #6314

Closed
grigasp opened this issue Dec 20, 2023 · 0 comments · Fixed by #6472
Closed

Presentation: Stream result sets as the requests are fulfilled #6314

grigasp opened this issue Dec 20, 2023 · 0 comments · Fixed by #6472
Assignees
Labels
enhancement New feature or request presentation Issues related to presentation library
Milestone

Comments

@grigasp
Copy link
Member

grigasp commented Dec 20, 2023

At the moment PresentationManager on the frontend, in case of a large result set, requests data in batches in a serial manner, combines everything and only then returns the result. We should provide APIs that:

  • request batched results in parallel,
  • stream the results as we receive them from the backend.

See HiliteSetProvider.getHiliteSetIterator for an example.

@grigasp grigasp added enhancement New feature or request presentation Issues related to presentation library labels Dec 20, 2023
@grigasp grigasp added this to the iTwin.js 4.4 milestone Dec 22, 2023
@grigasp grigasp modified the milestones: iTwin.js 4.4, iTwin.js 5.0 Jan 23, 2024
@grigasp grigasp modified the milestones: iTwin.js 5.0, iTwin.js 4.5 Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request presentation Issues related to presentation library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants