Does an action after a delay.
In this example, foo is set to 200, after a delay of 2000 milliseconds.