Permalink
5bbfc1a Jan 14, 2014
@drobakowski @devinus
11 lines (8 sloc) 341 Bytes
%% Poolboy - A hunky Erlang worker pool factory
-module(poolboy_worker).
-callback start_link(WorkerArgs) -> {ok, Pid} |
{error, {already_started, Pid}} |
{error, Reason} when
WorkerArgs :: proplists:proplist(),
Pid :: pid(),
Reason :: term().