Is there a nice simple method of delaying a function call whilst letting the thread continue executing?
e.g.
public void foo() { // Do stuff!
Thanks to modern C# 5/6 :)
public void foo() { Task.Delay(1000).ContinueWith(t=> bar()); } public void bar() { // do stuff }