Create a Utility Function to Control setInterval

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

We also need to control setInterval since so many async scenarios rely on timers. The pattern we've created so far matches up nicely and our confidence grows that we'll be able to use these functions together.