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

Return values from both data and error channels at once #1

Merged
merged 1 commit into from
May 9, 2019
Merged

Return values from both data and error channels at once #1

merged 1 commit into from
May 9, 2019

Conversation

ntnn
Copy link
Contributor

@ntnn ntnn commented May 9, 2019

The error channel is always being written to and closed last, reading
all values like this and returning them at once removes the need for if
clauses.

The error channel is always being written to and closed last, reading
all values like this and returning them at once removes the need for if
clauses.
@ntnn ntnn added the enhancement New feature or request label May 9, 2019
@ntnn ntnn requested a review from cb80 May 9, 2019 11:37
@cb80 cb80 merged commit 4abd9e1 into SAP:master May 9, 2019
@ntnn ntnn deleted the better_channel_handling branch May 9, 2019 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants