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

feat(ai/rsc): Add useStreamableValue again #1233

Merged
merged 4 commits into from
Mar 27, 2024
Merged

feat(ai/rsc): Add useStreamableValue again #1233

merged 4 commits into from
Mar 27, 2024

Conversation

shuding
Copy link
Member

@shuding shuding commented Mar 26, 2024

This PR re-adds the previously removed useStreamableValue declarative API as it's still very convenient in certain cases. Its return type is also changed to a [payload, error, pending] triplet.

The challenging part might be that how we want to document these different utilities along with all the concepts.

@shuding shuding merged commit a54ea77 into main Mar 27, 2024
6 checks passed
@shuding shuding deleted the shu/1e68 branch March 27, 2024 12:40
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