Skip to content

UseTerminate

katanakit-js / useTerminate

function useTerminate(key): void;

Defined in: infrastructure/worker/worker.service.ts:241

Terminates a specific Worker pool and rejects any in-flight tasks.

Parameter Type Description
key string The pool key to terminate.

void

useTerminate("heavy");