* Detects whether the given value is a kill behavior or not.
*
* @template KB Which specific KillBehavior to test against.
* Detects whether the given value is a kill behavior or not.
*
* @template KB Which specific KillBehavior to test against.
* @param value Any value.
* @returns `true` if `value` was strictly equals to `killBehavior`, otherwise `false`.
*/
* @param value Any value.
* @returns `true` if `value` was strictly equals to `killBehavior`, otherwise `false`.
*/
*
* - If `killBehavior` is set to `KillBehaviors.HARD` this value represents also the timeout for the tasks that you submit to the pool,
* when this timeout expires your tasks is interrupted and the worker is killed if is not part of the minimum size of the pool.
*
* - If `killBehavior` is set to `KillBehaviors.HARD` this value represents also the timeout for the tasks that you submit to the pool,
* when this timeout expires your tasks is interrupted and the worker is killed if is not part of the minimum size of the pool.
* - HARD: If `lastActiveTime` is greater than `maxInactiveTime` but a task is still running, then the worker will be deleted.
*
* This option only apply to the newly created workers.
* - HARD: If `lastActiveTime` is greater than `maxInactiveTime` but a task is still running, then the worker will be deleted.
*
* This option only apply to the newly created workers.