https://github.com/walkr/zwarm
Start, manage and run a collection of Elixir processes with ease.
https://github.com/walkr/zwarm
elixir erlang
Last synced: 3 months ago
JSON representation
Start, manage and run a collection of Elixir processes with ease.
- Host: GitHub
- URL: https://github.com/walkr/zwarm
- Owner: walkr
- License: mit
- Created: 2017-07-19T02:47:33.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T03:24:17.000Z (almost 8 years ago)
- Last Synced: 2025-03-20T08:09:33.719Z (3 months ago)
- Topics: elixir, erlang
- Language: Elixir
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Zwarm
=========Start, manage and run a collection of identical Elixir processes with ease.
### Installation
Add `zwarm` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[{:zwarm, "~> 0.1.0"}]
end
```### Usage
```elixir
# 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