Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/malchata/task-chunking

A small demo that shows how to chunk up tasks.
https://github.com/malchata/task-chunking

Last synced: about 1 month ago
JSON representation

A small demo that shows how to chunk up tasks.

Awesome Lists containing this project

README

        

# Task chunking demo

This demo uses a number of strategies to chunk up work using `setTimeout`, using a `Promise` to `resolve` a `setTimeout` call, the `postTask` API, and `requestIdleCallback`. Use a performance profiler to see the results of each button.