Fuck single-threaded JavaScript: virtualize the event loop.
Includes:
-
/- builder api to make creating a jobq not a pita
-
JobQueue- delegates tasks to virtual threads easily- jobq main thread name symbol
- jobq clone new state before passing it
- jobq start/stop individual threads
- jobq query status of thread
- jobq message queue between threads
- jobq cancel job
- jobq mutex lock/unlock
- catch intentionally thrown errors
- jobq plugin system (superjson)
-
Virtualized- virtualized setInterval and setTimeout