Skip to content
0

katanakit-js / useHasWorker

Function: useHasWorker() ​

ts
function useHasWorker(key): boolean;

Defined in: src/infrastructure/worker/worker.service.ts:280

Checks whether a Worker pool with the given key exists.

Parameters ​

ParameterTypeDescription
keystringThe pool key to check.

Returns ​

boolean

true if the pool is registered.

Released under the MIT License.