connectrpc / connect-swift

The Swift implementation of Connect: Protobuf RPC that works.
https://connectrpc.com/docs/swift/getting-started
Apache License 2.0
98 stars 20 forks source link

Update async conformance tests with syntax sugar #202

Closed rebello95 closed 1 year ago

rebello95 commented 1 year ago

After the conversation on https://github.com/connectrpc/connect-kotlin/pull/130, this PR makes a few changes to demonstrate ways in which consumers can easily iterate over results from an async stream.

It also introduces a convenience accessor for StreamResult for these use cases.