🧵 Thready

A lightweight, type-safe thread pool implementation for JavaScript and TypeScript that enables true multithreading using Web Workers.

Note: Thready is a worker pool manager only. You provide your own worker script with your custom logic.

Features

  • Simple API - Easy to use singleton pattern for quick integration
  • 🔄 Worker Pooling - Efficiently reuses worker threads instead of creating new ones
  • 📦 Zero Dependencies - No external dependencies, just pure JavaScript
  • 💪 TypeScript Support - Full type definitions included
  • Performance - Supports transferable objects for zero-copy data transfer
  • 🎯 Smart Queue Management - Automatically manages task queuing and load balancing
  • 🔍 Statistics - Built-in monitoring of pool state and pe…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help