The type of the task worker parameters.
Use to define task worker parameters.
const moviesGetterParams: TaskWorkerParamsT<[url: string]> = ["example.com"];
Use to create a template for similar task worker parameters.
type TwoNumbersWorkerParamsTemplate = TaskWorkerParamsT<[number, number]>;
const adderParams: TwoNumbersWorkerParamsTemplate = [1, 2];
const multiplierParams: TwoNumbersWorkerParamsTemplate = [3, 4];
Generated using TypeDoc
The type of the task worker parameters.