Resource pool v1.0.3 ResourcePool.GenServer View Source

The module ResourcePool.GenServer implements resource pool functionality.

Link to this section Summary

Functions

  • handle message :borrow
  • handle message {:ack_borrow, {:error, :pool_timeout}}

Takes argument tuple of options, factory_module and resource_metadata.

Link to this section Functions

Link to this function

handle_call(msg, from, state)

View Source
  • handle message :borrow
  • handle message {:ack_borrow, {:error, :pool_timeout}}

Takes argument tuple of options, factory_module and resource_metadata.