There is a function
async Task MyFuncation(Func<Task> f)
{
// do something
//
await f();
}
Sometimes I need to call the function but don't have anything for parameter f
so I pass it async () => { }
. Is there a noop function for it?
await RunMyFuncation(async () => { }); // I still need to call Run