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, Cast}).
cast_call(Process::name() (see module wpool) | pid(), From::from(), Call::term()) -> ok
Equivalent to gen_server:cast(Process, {call, From, Call}).