Packages
rsrc_pool_ex
1.0.3
The goal of ResourcePool (rsrc_pool_ex) Elixir library is reduce the overhead of creating new resources by reusing of the same resources among multiple processes.
Current section
Files
Jump to
Current section
Files
test/utils.ex
defmodule Utils do
def f(pool), do: ResourcePool.get_number(pool)
def f2(pool), do: {ResourcePool.get_num_active(pool), ResourcePool.get_num_idle(pool)}
end