From: Alessandro Pio Ardizio Date: Tue, 16 Feb 2021 10:22:21 +0000 (+0100) Subject: Update src/worker/worker-options.ts X-Git-Tag: v2.0.0-beta.2~17^2~8 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=20c35414fb13454c28b5a97a22f9afd2fd65254b;p=poolifier.git Update src/worker/worker-options.ts Co-authored-by: Shinigami --- diff --git a/src/worker/worker-options.ts b/src/worker/worker-options.ts index b704dced..4e38c296 100644 --- a/src/worker/worker-options.ts +++ b/src/worker/worker-options.ts @@ -35,5 +35,5 @@ export interface WorkerOptions { * * @default SOFT */ - killBehavior?: string + killBehavior?: 'HARD' | 'SOFT' }