In this example, Zone is used to capture calls to setTimeout. You can then "release" the captures and execute them at will. Notice that besides setting the marker, the code is not aware that anything external is happening.