walkr / zwarm

Start, manage and run a collection of Elixir processes with ease.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zwarm

Start, manage and run a collection of identical Elixir processes with ease.

Installation

Add zwarm to your list of dependencies in mix.exs:

def deps do
  [{:zwarm, "~> 0.1.0"}]
end

Usage

# Start 10_000 processes
ref = Zwarm.create!(10_000, fn -> IO.puts "I am process: #{inspect self()}" end)

# Run function on all processes
Zwarm.run(ref)

# Destroy
Zwarm.destroy(ref)

License

MIT LIcense

About

Start, manage and run a collection of Elixir processes with ease.

License:MIT License


Languages

Language:Elixir 100.0%