You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some circumstances, I would expect to have async lambda as an argument (when it is convertible to async)
publicpartialclassMethodWithDelegate{publicTaskTestAsync(){// In this case async-await is optionalreturnReadAsync(async()=>awaitSimpleFile.ReadAsync());}publicTaskReadAsync(Func<Task>actionAsync){awaitactionAsync();returnSimpleFile.ReadAsync();}}
Example:
Expected result
Actual result
The text was updated successfully, but these errors were encountered: