Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/malchata/task-chunking
- Owner: malchata
- License: mit
- Created: 2022-08-31T13:51:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T14:34:03.000Z (over 2 years ago)
- Last Synced: 2024-10-15T13:41:02.797Z (3 months ago)
- Language: JavaScript
- Size: 629 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.