Skip to content

Eat your enumerables in threads and fast!

Notifications You must be signed in to change notification settings

GetTerminus/concurrent_executor

Repository files navigation

concurrent_executor

Eat your enumerables in threads and fast!

Installation

Add this line to your application's Gemfile:

gem 'concurrent_executer'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install concurrent_executer

Usage

require 'concurrent_executer'

some_enumerable = [1, 2, 3, 4]
ConcurrentExecutor.consume_enumerable(some_enumerable) do |num|
  # do something to each item
end

About

Eat your enumerables in threads and fast!

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •