ThatRendle/Simple.Web

ContinueWithHandler in AsyncPipeline misses unwrap

Closed this issue · 1 comments

Not sure about this but I think that

private static Task ContinueWithHandler(Task task, Func<THandler, IContext, Status> continuation, IContext context, THandler handler)

misses the Unwrap of the task

No, that method is continuing the pipeline with a not-asynchronous block, so the result is a Task, not a Task<Task>, and no Unwrap is needed.