var task = Task.Run(() =>
{

});
task.GetAwaiter().OnCompleted(() =>
{

});