https://github.com/juggle/tasks
WIP: Async utility for executing tasks at specific points during a frame, or, a point in time.
https://github.com/juggle/tasks
Last synced: 5 months ago
JSON representation
WIP: Async utility for executing tasks at specific points during a frame, or, a point in time.
- Host: GitHub
- URL: https://github.com/juggle/tasks
- Owner: juggle
- Created: 2019-10-10T15:19:47.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T14:00:28.000Z (over 6 years ago)
- Last Synced: 2025-03-04T10:13:23.114Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WIP: Tasks
Async utility for executing tasks at specific points during a frame, or, at a point in time.
IE10/11+
## MicroTask
Shedules a MiroTask. Run synchronously after the main thread has run and imidiately before the next asynchronous task.
## RenderTask
Shedules a task to be run inside of an animation frame.
## PostRenderTask
Schedules a task to be run after paint, but, before the next frame.
## ScheduledTask
Schedules a task to be run at a specific time. Can specify date or delay.
## IntervalTask
Shedules an infinite running task, to be run every _n_ milliseconds.
## WorkerTask
Schedules a task to be run inside of a generic worker