Skip to content

Pool of workers based on the Registry module introduced in elixir v1.4

Notifications You must be signed in to change notification settings

ayayalar/poolproc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PoolProc

Description Create pool of workers based on the Registry module introduced in elixir v1.4

Usage

# create a pool with 5 workers
PoolProc.Pool.create_pool :test_pool, [pool_size: 5]

# get a worker from the pool send fn

PoolProc.Pool.get_worker(:test_pool)
  |> PoolProc.Pool.send_worker(fn -> 1 end)

About

Pool of workers based on the Registry module introduced in elixir v1.4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages