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

Implement on-demand streaming #81

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

Implement on-demand streaming #81

wants to merge 21 commits into from

Conversation

fwcd
Copy link
Member

@fwcd fwcd commented Mar 1, 2025

Fixes #74

Now that we're unblocked on the streaming issues, we can finally add on-demand streaming here.

To do

  • Update useAsyncIterable to properly support cancellation
  • Add DisplayStream
    • Use it in DisplayGrid
  • Add useModelStream and useStream hooks
    • Investigate whether we'd want to make useStream generic (this would trade convenience for fake type-safety, not sure if we would actually want that or rather force the user to cast to make things more explicit)
  • Stream in monitoring view
  • Stream in resource browser

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

Successfully merging this pull request may close these issues.

Add useStream hook for on-demand streaming
1 participant