X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerInfo.html;h=e1e2393bf7de2e5820f8367b2d1c85c3287ac483;hb=67c6a853287d5c2df8ab115905b714e644333802;hp=2f1dae8aba1881bd469b8a4fe248fcdde1dc238b;hpb=52a04779d6d7fce6b3db10d1abf5e03b42ea9723;p=poolifier.git diff --git a/docs/interfaces/WorkerInfo.html b/docs/interfaces/WorkerInfo.html index 2f1dae8a..e1e2393b 100644 --- a/docs/interfaces/WorkerInfo.html +++ b/docs/interfaces/WorkerInfo.html @@ -1,12 +1,18 @@ -WorkerInfo | poolifier - v3.1.1

Interface WorkerInfoInternal

Worker information.

-
interface WorkerInfo {
    dynamic: boolean;
    id: undefined | number;
    ready: boolean;
    taskFunctionNames?: string[];
    type: "thread" | "cluster";
}

Properties

dynamic: boolean

Dynamic flag.

-
id: undefined | number

Worker id.

-
ready: boolean

Ready flag.

-
taskFunctionNames?: string[]

Task function names.

-
type: "thread" | "cluster"

Worker type.

-

Generated using TypeDoc

\ No newline at end of file +WorkerInfo | poolifier - v4.0.9

Interface WorkerInfoInternal

Worker information.

+
interface WorkerInfo {
    backPressure: boolean;
    dynamic: boolean;
    id: undefined | number;
    ready: boolean;
    stealing: boolean;
    taskFunctionsProperties?: TaskFunctionProperties[];
    type: "thread" | "cluster";
}

Properties

backPressure: boolean

Back pressure flag. +This flag is set to true when worker node tasks queue has back pressure.

+
dynamic: boolean

Dynamic flag.

+
id: undefined | number

Worker id.

+
ready: boolean

Ready flag.

+
stealing: boolean

Stealing flag. +This flag is set to true when worker node is stealing tasks from another worker node.

+
taskFunctionsProperties?: TaskFunctionProperties[]

Task functions properties.

+
type: "thread" | "cluster"

Worker type.

+
\ No newline at end of file