1 مستودع
Patterns for offloading C++ work to background threads and returning results to the JavaScript main thread.
Distinct from Asynchronous Worker Functions: Focuses on the specific async worker pattern for native addons, not just general async functions in worker threads.
Explore 1 awesome GitHub repository matching programming languages & runtimes · Native Async Worker Patterns. Refine with filters or upvote what's useful.
This project is a compatibility layer and abstraction library for building native C++ addons for Node.js. It provides a consistent C++ API that allows a single codebase to compile against multiple versions of the V8 JavaScript engine by hiding version-specific differences behind macros and inline functions. The toolkit differentiates itself through specialized wrappers and managers, including a monadic wrapper for handles to avoid explicit null checks, a persistent reference manager for objects that must survive handle scope disposal, and a buffer abstraction API for version-compatible memory
Implements asynchronous worker patterns to execute heavy native tasks on background threads.