refactor: silence linter warning
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 4 Oct 2023 06:39:15 +0000 (08:39 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 4 Oct 2023 06:39:15 +0000 (08:39 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/worker/abstract-worker.ts

index d0803b8da98d59ca9018cd190d6020d871dfad2e..e10521fcbc7808eeffeb778aa8dfb13ce0eb680e 100644 (file)
@@ -368,7 +368,7 @@ export abstract class AbstractWorker<
    *
    * @param message - The kill message.
    */
-  protected handleKillMessage (message: MessageValue<Data>): void {
+  protected handleKillMessage (_message: MessageValue<Data>): void {
     this.stopCheckActive()
     if (isAsyncFunction(this.opts.killHandler)) {
       (this.opts.killHandler?.() as Promise<void>)