Class Spruz::Limited
In: lib/spruz/limited.rb
lib/spruz/limited.rb
Parent: Object

Methods

execute   execute   new   new  

Attributes

maximum  [R]  The maximum number of worker threads.
maximum  [R]  The maximum number of worker threads.

Public Class methods

Create a Limited instance, that runs maximum threads at most.

Create a Limited instance, that runs maximum threads at most.

Public Instance methods

Execute maximum number of threads in parallel.

Execute maximum number of threads in parallel.

[Validate]