wpool_process
Decorator over gen_server that lets wpool_pool control certain aspects of the execution.
Decorator over gen_server that lets wpool_pool control certain aspects of the execution
Functions
start_link(Name::name() (see module wpool), Module::module(), InitArgs::term(), Options::[option() (see module wpool)]) -> {ok, pid()} | ignore | {error, {already_started, pid()} | term()}
Starts a named process
call(Process::name() (see module wpool) | pid(), Call::term(), Timeout::timeout()) -> term()
Equivalent to gen_server:call(Process, Call, Timeout).
cast(Process::name() (see module wpool) | pid(), Cast::term()) -> ok
Equivalent to gen_server:cast(Process, Cast).
age(Process::name() (see module wpool) | pid()) -> non_neg_integer()
Report how old a process is in microseconds