View Source wpool_utils (worker_pool v6.2.0)
Link to this section Summary
Functions
Adds default parameters to a pool configuration
Removes the current task from the worker
Marks Task as started in this worker
Link to this section Functions
-spec add_defaults([wpool:option()]) -> [wpool:option()].
-spec task_end(undefined | reference()) -> ok.
-spec task_init(term(), #{overrun_warning := timeout(), _ => _}) -> undefined | reference().