Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

mapbox/node-eio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-eio

Control libeio from JavaScript

Usage

  • libeio.setMinParallel(threads): Sets the available number of threads. node's default is 4. Use this function for increasing the number of threads.
  • libeio.setMaxParallel(threads): Sets the maximum number of threads. This does only cap the number of threads and expires existing threads that are bigger than the maximum.
  • libeio.usage(): Returns an object with thread usage information.

Credits

Based on polotek's thread branch.