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

Add PipeTo for non-generic Tasks for exception handling #978

Merged
merged 1 commit into from
May 15, 2015

Conversation

adamhathcock
Copy link
Contributor

This feels like something I want to do. Let me know if this is a bad idea and I won't be doing in my own code.

@nvivo
Copy link
Contributor

nvivo commented May 14, 2015

The idea of PipeTo is to pipe the result of the task to the recipient. If the task doesn't have a result, what are you piping? Only the failure?

@adamhathcock
Copy link
Contributor Author

Correct. I'd want the parent is try to handle the error and not just let it die in Task-land

@rogeralsing
Copy link
Contributor

Looks good IMO.

@stefansedich
Copy link
Contributor

I lile it!

Do we need to have a test around it?

@nvivo
Copy link
Contributor

nvivo commented May 15, 2015

Agreed. Makes sense to me.

rogeralsing added a commit that referenced this pull request May 15, 2015
Add PipeTo for non-generic Tasks for exception handling
@rogeralsing rogeralsing merged commit cbe4975 into akkadotnet:dev May 15, 2015
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.

4 participants