Could you use Task.FromResult instead? `vc => { vc.Writer.Write(defaultViewContent); return Task.FromResult(0); }`