View Source Poolex.Monitoring (poolex v0.2.1)

Interfaces to hide monitoring implementation.

Link to this section Summary

Link to this section Types

@type kind_of_process() :: :worker | :caller
@type monitor_id() :: atom() | reference()

Link to this section Functions

Link to this function

add(monitor_id, process_pid, kind_of_process)

View Source
@spec add(monitor_id(), pid(), kind_of_process()) :: :ok
@spec init(Poolex.pool_id()) :: {:ok, monitor_id()}
Link to this function

remove(monitor_id, monitoring_reference)

View Source
@spec remove(monitor_id(), reference()) :: kind_of_process()