refactor: reorder pool options validation
[poolifier.git] / src / worker / worker-options.ts
index 384b2a1104498520719c220aa9300398faf1d2bd..10589643d65764f3d68ffc41345d52e9e19250d4 100644 (file)
@@ -52,6 +52,8 @@ export interface WorkerOptions {
   maxInactiveTime?: number
   /**
    * The function to call when a worker is killed.
+   *
+   * @defaultValue `() => {}`
    */
   killHandler?: KillHandler
   /**