Demonstration of using cooperatively scheduled background tasks using the requestIdleCallback() method.
requestIdleCallback()