X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTask.html;h=13e59edb3f2a9d70a7b371350094b63249c9dde5;hb=30104e9d8f3d4a6c983c58797364df986fbe65cc;hp=b790e0c3015834d5f38ed05f435e0f7d8d19a1d5;hpb=ef0bf5b82f7edb5cd87f4bffb784bb8fac189fb8;p=poolifier.git diff --git a/docs/interfaces/Task.html b/docs/interfaces/Task.html index b790e0c3..13e59edb 100644 --- a/docs/interfaces/Task.html +++ b/docs/interfaces/Task.html @@ -1,6 +1,6 @@ -
Internal
Message object that is passed as a task between main worker and worker.
+- Preparing search index...
- The search index is not available
poolifier - v4.0.13Interface Task<Data>
Internal
Message object that is passed as a task between main worker and worker.
    data?: Data;
    name?: string;
    priority?: number;
    strategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
    taskId?: `${string}-${string}-${string}-${string}-${string}`;
    timestamp?: number;
    transferList?: readonly TransferListItem[];
}
Type Parameters
Type of data sent to the worker. This can only be structured-cloneable data.
-Hierarchy (view full)
Index
Properties
Hierarchy (view full)
Index
Properties
Properties
Optional
Readonly
dataTask input data that will be passed to the worker.
-Optional
Readonly
nameTask name.
-Optional
Readonly
priorityTask priority. Lower values have higher priority.
-Default Value
Optional
Readonly
nameTask name.
+Optional
Readonly
priorityTask priority. Lower values have higher priority.
+Default Value
-Optional
Readonly
strategyTask worker choice strategy.
-Optional
Readonly
taskTask UUID.
-Optional
Readonly
timestampTimestamp.
-Optional
Readonly
transferArray of transferable objects.
-Settings
Member Visibility
Theme
On This Page
Optional
Readonly
strategyTask worker choice strategy.
+Optional
Readonly
taskTask UUID.
+Optional
Readonly
timestampTimestamp.
+Optional
Readonly
transferArray of transferable objects.
+Settings
Member Visibility
Theme
On This Page