GenPool.Broker behaviour (gen_pool v0.1.0)
Documentation for GenPool.Broker
.
Link to this section Summary
Link to this section Types
Link to this type
queue_type()
@type queue_type() :: :fifo | :lifo
Link to this section Callbacks
Link to this callback
client_queue()
@callback client_queue() :: [ queue_type: queue_type(), timeout: pos_integer(), min: pos_integer(), max: pos_integer() ]
Link to this callback
process_queue()
@callback process_queue() :: %{ queue_type: queue_type(), timeout: pos_integer(), min: pos_integer(), max: pos_integer() }