Skip to content

rpc: add flow-control to when_resolved() and StreamingRequest::send()#44

Open
bodier123 wants to merge 1 commit intocloudflare:mainfrom
bodier123:fix-when-resolved
Open

rpc: add flow-control to when_resolved() and StreamingRequest::send()#44
bodier123 wants to merge 1 commit intocloudflare:mainfrom
bodier123:fix-when-resolved

Conversation

@bodier123
Copy link
Copy Markdown

Motivation

Client::when_resolved previously returned todo!() and StreamingRequest::send
could spam a remote vat before the client settled.

Changes

  • Implement full resolution loop with error-handling in when_resolved.
  • StreamingRequest::send now awaits when_resolved for basic flow control.

All unit tests pass (cargo test --workspace) and cargo clippy --no-deps -D warnings is clean for recapn-rpc.

@bodier123 bodier123 requested a review from a team as a code owner May 17, 2025 14:04
@bodier123 bodier123 requested a review from ObsidianMinor May 17, 2025 14:04
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.

1 participant