Skip to content

Conversation

marcpiechura
Copy link
Contributor

…a value

@@ -35,8 +35,8 @@ public static Task PipeTo<T>(this Task<T> taskToPipe, ICanTell recipient, IActor
{
if (tresult.IsCanceled || tresult.IsFaulted)
recipient.Tell(failure != null
? failure((Exception)tresult.Exception)
: new Status.Failure((Exception)tresult.Exception), sender);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type cast is redundant

@Horusiath Horusiath merged commit 6ddc13a into akkadotnet:dev Apr 10, 2017
@marcpiechura marcpiechura deleted the additional_PipeTo_overload branch May 17, 2017 19:49
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.

2 participants