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: about 1 month 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 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T03:24:17.000Z (almost 9 years ago)
- Last Synced: 2025-09-05T05:54:54.141Z (10 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