This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Use cancelIdleCallback() to prevent scheduled work from running when it's no longer needed.
You've completed the free preview. Subscribe to unlock every lesson in every course.