X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FThreadWorker.html;h=78aa3c24c4800fdab07db1fb45c39f61ece0f43a;hb=d5d8ef5b0645ff2e43010f981a768c48cd559854;hp=7b3278d9aefaac249a36bd2cba54a93d429052c6;hpb=6d59ea2c71b8a88d41498c6fb54dfad95fd3a3ac;p=poolifier.git diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 7b3278d9..78aa3c24 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -32,12 +32,12 @@ but the minimum number of workers will be guaranteed.
Input data for the given function.
Protected
runInput data for the given function.
Protected
sendThe response message.
Static
bind
Type of data this worker receives from pool's execution. This can only be serializable data.
+Type of data this worker receives from pool's execution. This can only be structured-cloneable data.
Response = unknown
-Type of response the worker sends back to the main thread. This can only be serializable data.
+Type of response the worker sends back to the main thread. This can only be structured-cloneable data.
@@ -116,7 +116,7 @@ but the minimum number of workers will be guaranteed.
Properties
Protected
Readonly
isProtected
last Worker
-Protected
main Worker
+Protected
Readonly
mainReference to main worker.
Protected
Readonly
optsProtected
statisticsPerformance statistics computation.
+Performance statistics computation requirements.
Protected
taskMethods
bind
@@ -221,7 +221,7 @@ but the minimum number of workers will be guaranteed.
Protected
check@@ -233,7 +233,7 @@ but the minimum number of workers will be guaranteed.
emit Destroy
@@ -249,7 +249,7 @@ never be called.
Protected
get@@ -262,7 +262,7 @@ never be called.
Protected
handle@@ -283,7 +283,7 @@ never be called.
Protected
message@@ -295,7 +295,7 @@ never be called.-
-
Parameters
message: MessageValue<Data, Data, MessagePort>
+message: MessageValue<Data, Data>
Message received.
Protected
run@@ -320,7 +320,7 @@ never be called.