Module wpool_utils

Common functions for wpool_process and other modules.

Authors: Felipe Ripoll (ferigis@gmail.com).

Description

Common functions for wpool_process and other modules.

Function Index

add_defaults/1Adds default parameters to a pool configuration.
task_end/1Removes the current task from the worker.
task_init/2Marks Task as started in this worker.

Function Details

add_defaults/1

add_defaults(Opts::[wpool:option()]) -> [wpool:option()]

Adds default parameters to a pool configuration

task_end/1

task_end(TimerRef::undefined | reference()) -> ok

Removes the current task from the worker

task_init/2

task_init(Task::term(), X2::#{overrun_warning := timeout(), term() => term()}) -> undefined | reference()

Marks Task as started in this worker


Generated by EDoc