Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lage-run/worker-threads-pool

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lage-run/worker-threads-pool

A worker_threads pool implementation based on the official Node.js async_hooks documentation

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
288
increased by19.5%
Maintainers
1
Weekly downloads
 
Created
Source

@lage-run/worker-threads-pool

This is an worker_threads based threadpool implementation. We had to implement one of these because lage needs access to the stdin/stdout of the workers themselves for the purpose of logging and preserving them as cached outputs. This way, the workers can be long lived, but the their logs will be associated with the correct target.

It is completely based on the Node.js documentation for async_hook: https://nodejs.org/api/async_context.html#using-asyncresource-for-a-worker-thread-pool

FAQs

Package last updated on 04 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc