X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FMessageValue.html;h=fe1ed165d7494267964c5bb5a231ffda3567ec02;hb=2efc445b630bfe0b55b843eb3d5c6025115b587c;hp=ac84acbc18941fd9dc66bbb95553d191761d8bf2;hpb=c8576e5fe740384f6f61316b7f09a788a14ab0ef;p=poolifier.git diff --git a/docs/interfaces/MessageValue.html b/docs/interfaces/MessageValue.html index ac84acbc..fe1ed165 100644 --- a/docs/interfaces/MessageValue.html +++ b/docs/interfaces/MessageValue.html @@ -1,7 +1,7 @@ -
Internal
Message object that is passed between main worker and worker.
+- Preparing search index...
- The search index is not available
poolifier - v4.0.13Interface MessageValue<Data, ErrorData>
Internal
Message object that is passed between main worker and worker.
    checkActive?: boolean;
    data?: Data;
    kill?: true | "success" | "SOFT" | "HARD" | "failure";
    name?: string;
    port?: MessagePort;
    priority?: number;
    ready?: boolean;
    statistics?: WorkerStatistics;
    strategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
    taskFunction?: string;
    taskFunctionOperation?: "add" | "default" | "remove";
    taskFunctionOperationStatus?: boolean;
    taskFunctionProperties?: TaskFunctionProperties;
    taskFunctionsProperties?: TaskFunctionProperties[];
    taskId?: `${string}-${string}-${string}-${string}-${string}`;
    taskPerformance?: TaskPerformance;
    timestamp?: number;
    transferList?: readonly TransferListItem[];
    workerError?: WorkerError<ErrorData>;
    workerId?: number;
}
Type Parameters
Type of data sent to the worker or execution response. This can only be structured-cloneable data.
Type of data sent to the worker triggering an error. This can only be structured-cloneable data.
-Hierarchy (view full)
Index
Properties
Hierarchy (view full)
Index
Properties
Properties
Optional
Readonly
checkWhether the worker starts or stops its activity check.
-Optional
Readonly
dataTask input data that will be passed to the worker.
-Optional
Readonly
killKill code.
-Optional
Readonly
nameTask name.
-Optional
Readonly
portMessage port.
-Optional
Readonly
priorityTask priority. Lower values have higher priority.
-Default Value
Optional
Readonly
dataTask input data that will be passed to the worker.
+Optional
Readonly
killKill code.
+Optional
Readonly
nameTask name.
+Optional
Readonly
portMessage port.
+Optional
Readonly
priorityTask priority. Lower values have higher priority.
+Default Value
-Optional
Readonly
readyWhether the worker is ready or not.
-Optional
Readonly
statisticsWhether the worker computes the given statistics or not.
-Optional
Readonly
strategyTask worker choice strategy.
-Optional
Readonly
taskTask function serialized to string.
-Optional
Readonly
taskTask function operation:
+Optional
Readonly
readyWhether the worker is ready or not.
+Optional
Readonly
statisticsWhether the worker computes the given statistics or not.
+Optional
Readonly
strategyTask worker choice strategy.
+Optional
Readonly
taskTask function serialized to string.
+Optional
Readonly
taskTask function operation:
'add'
- Add a task function.'remove'
- Remove a task function.'default'
- Set a task function as default.Optional
Readonly
taskWhether the task function operation is successful or not.
-Optional
Readonly
taskTask function properties.
-Optional
Readonly
taskTask functions properties.
-Optional
Readonly
taskTask UUID.
-Optional
Readonly
taskTask performance.
-Optional
Readonly
timestampTimestamp.
-Optional
Readonly
transferArray of transferable objects.
-Optional
Readonly
workerWorker error.
-Optional
Readonly
workerWorker id.
-Settings
Member Visibility
Theme
On This Page
Optional
Readonly
taskWhether the task function operation is successful or not.
+Optional
Readonly
taskTask function properties.
+Optional
Readonly
taskTask functions properties.
+Optional
Readonly
taskTask UUID.
+Optional
Readonly
taskTask performance.
+Optional
Readonly
timestampTimestamp.
+Optional
Readonly
transferArray of transferable objects.
+Optional
Readonly
workerWorker error.
+Optional
Readonly
workerWorker id.
+Settings
Member Visibility
Theme
On This Page