Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
tobbebex
· 5y ago · 0 comments
An non-async Task<int> is returning a Task<int> object, where the return statement of an async Task<int> method is of type int (which will be wrapped in the resulting Task). ”return 1;” eg only works in the latter case.
Comments
No comments yet.
Better HN