X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fclasses%2FClusterWorker.html;h=4bc952272e37e3f46ac7c5d6da8dd04078e7a949;hb=d61f24ac46792cfab91a154667f24fc57c90e66e;hp=f5c6ec9c0f571b7a7546c2bf582a41eb214a4a86;hpb=c0b0686de0f8c5483b20b94fac97d2b8175c0556;p=poolifier.git diff --git a/docs/classes/ClusterWorker.html b/docs/classes/ClusterWorker.html index f5c6ec9c..4bc95227 100644 --- a/docs/classes/ClusterWorker.html +++ b/docs/classes/ClusterWorker.html @@ -42,7 +42,7 @@ but the minimum number of workers will be guaranteed.
Protected
lastProtected
mainReadonly
optsAsyncResource
to which the function is bound.
Protected
handle
Handle an error and convert it to a string so it can be sent back to the main worker.
+Handles an error and convert it to a string so it can be sent back to the main worker.
Returns
Message of the error.
Returns string
+Protected
message@@ -276,13 +276,13 @@ never be called.
Returns void
Protected
runRun the given function synchronously.
+Runs the given function synchronously.
Parameters
@@ -309,13 +309,13 @@ never be called.Returns void
+Protected
runRun the given function asynchronously.
+Runs the given function asynchronously.
Parameters
@@ -342,7 +342,7 @@ never be called.Returns void
+run In Async Scope
@@ -399,7 +399,7 @@ then restore the original execution context.- send
To Main Worker(message: MessageValue<Response, unknown>): void
-
-
- Defined in src/worker/cluster-worker.ts:42
Send a message to the main worker.
+Sends a message to the main worker.
Parameters
@@ -411,7 +411,7 @@ then restore the original execution context.Returns void
+trigger Async Id