apollo-ios-dev icon indicating copy to clipboard operation
apollo-ios-dev copied to clipboard

[v2] [4/x] NetworkTransport APIs

Open AnthonyMDev opened this issue 6 months ago • 2 comments

Changes the NetworkTransport protocol and implementations to return an AsyncThrowingStream of results instead of using a completion handler.

ApolloClient will have new APIs that return the AsyncThrowingStream in a later PR in the stack. For now, we are wrapping that stream and returning its results through the completion handlers for ApolloClient.

AnthonyMDev avatar May 15 '25 22:05 AnthonyMDev

⚠️ Docs preview not attached to branch

The preview was not built because the PR's base branch Incremental-response-parsing-async is not in the list of sources.

An Apollo team member can comment one of the following commands to dictate which branch to attach the preview to:

  • !docs set-base-branch main

Build ID: 111f29fba246fe4e2e1b6944

svc-apollo-docs avatar May 15 '25 22:05 svc-apollo-docs

Going to slowly make our way through these during the week - there is a lot to review. 😓

calvincestari avatar May 19 '25 16:05 calvincestari