feat(4): support streaming typed clients#6
Merged
0xpolarzero merged 1 commit intoMay 24, 2026
Conversation
3b1b7f1 to
87299d9
Compare
05db286 to
8441d5d
Compare
87299d9 to
2bd19e0
Compare
8441d5d to
b1b1f53
Compare
2bd19e0 to
80462ea
Compare
b1b1f53 to
b247edf
Compare
b247edf to
bfc33e6
Compare
This was referenced May 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warning
This PR is part of a stacked PR chain.
Upstream merge PRs:
wevm/incur#144 ->
wevm/incur#145 ->
wevm/incur#143 ->
wevm/incur#146 ->
wevm/incur#147
Correctly based review stack in this fork:
#3 ->
#4 ->
#5 ->
#6 ->
#2
Overview
Adds async-generator streaming support to generated TypeScript clients and the existing structured RPC route.
API
Maintainer Note: Stream Detection
Streaming typegen detection is based on actual
async *runhandlers. A wrapper likerun() { return stream() }is not emitted asstream: true.Changes
stream: truemetadata in typegen.application/x-ndjsonhandling for RPC stream responses.Tests