Skip to content

Conversation

micheal-parks
Copy link
Member

@micheal-parks micheal-parks commented Jun 20, 2025

After peeking into getStream I found that there are some design elements that I don't like. It sets a timeout that will in some cases throw an error based on a non-configurable stream timeout. This can cause complications or issues if a component mounts and unmounts quickly in succession, and I think this is probably best left for userland behavior, so I'm switching to just using the add method for the createStreamClient hook.

Copy link

changeset-bot bot commented Jun 20, 2025

🦋 Changeset detected

Latest commit: b9c6c09

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@viamrobotics/svelte-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@micheal-parks micheal-parks requested a review from DTCurrie June 20, 2025 21:55
@DTCurrie
Copy link
Member

I haven't had a chance to look too deeply yet, but what would happen now if a stream fails to connect?

@DTCurrie
Copy link
Member

DTCurrie commented Sep 9, 2025

Do we still need this?

@micheal-parks
Copy link
Member Author

Would probably still be a good idea to do, I'll think through the failed to connect logic one more time to make sure we can still handle that

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.

2 participants