Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/utils.ts>isKillBehavior

Fast and small web worker pool
Latest
variable isKillBehavior
import { isKillBehavior } from "https://deno.land/x/poolifier@v0.3.14/src/utils.ts";

Detects whether the given value is a kill behavior or not.

type

<KB extends KillBehavior>(killBehavior: KB, value: unknown) => value is KB