wpool_worker (worker_pool v7.0.0)
View SourceDefault instance for wpool_process.
It is a module that implements a very simple RPC-like interface.
Summary
API Functions
Returns the result of M:F(A). from any of the workers of the pool S.
Executes M:F(A). in any of the workers of the pool S.
Types
API Functions
-spec call(wpool:name(), module(), atom(), [term()]) -> term().
Returns the result of M:F(A). from any of the workers of the pool S.
-spec cast(wpool:name(), module(), atom(), [term()]) -> ok.
Executes M:F(A). in any of the workers of the pool S.