-
Notifications
You must be signed in to change notification settings - Fork 910
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
Update RPC transports to use new types #3148
Conversation
🦋 Changeset detectedLatest commit: 700d020 The changes in this PR will be included in the next version bump. 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 |
74da6c5
to
93d3a29
Compare
|
||
type CoalescedRequest = { | ||
readonly abortController: AbortController; | ||
numConsumers: number; | ||
readonly responsePromise: Promise<unknown>; | ||
readonly responsePromise: Promise<RpcResponse | undefined>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be | undefined
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's already the current type definition of the coalescer. It just didn't show before because unknown | undefined
is equivalent to unknown
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
e236173
to
1d66210
Compare
93d3a29
to
64e933c
Compare
1d66210
to
1e437d1
Compare
64e933c
to
4ad7ad4
Compare
1e437d1
to
130c829
Compare
4ad7ad4
to
9aa2b28
Compare
130c829
to
f240c65
Compare
9aa2b28
to
607325f
Compare
f240c65
to
6c3ae7a
Compare
eeccea5
to
5f13964
Compare
6c3ae7a
to
925398e
Compare
5f13964
to
dc06db4
Compare
Merge activity
|
dc06db4
to
700d020
Compare
Because there has been no activity on this PR for 14 days since it was merged, it has been automatically locked. Please open a new issue if it requires a follow up. |
This PR updates the RPC Transport layer by making sure they return the new
RpcResponse
interface instead of returning the parsed response data directly.