Skip to content
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

IAsyncEnumerable<T> should serialize as an object with token to allow future features #384

Closed
AArnott opened this issue Nov 27, 2019 · 0 comments · Fixed by #389
Closed
Assignees
Milestone

Comments

@AArnott
Copy link
Member

AArnott commented Nov 27, 2019

Instead of serializing is just the token, an IAsyncEnumerable<T> should serialize as an object with a token property so that in the future, the object can carry other significant properties such as an initial array of values (thereby possibly avoiding a round-trip from the receiver just to get the first values that they were perhaps asking for in the first place.

This modifies the spec proposed in #328

@AArnott AArnott added this to the v2.3 milestone Nov 27, 2019
@AArnott AArnott self-assigned this Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant