X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fclasses%2FThreadWorker.html;h=019b702cce7e865b7184b663d56d6289c2583dfd;hb=f8350486e75b15ed17249cda3d0a55ee807a6a9f;hp=9b927050c92b56b9aa478fb413bef381f9bde915;hpb=812ad701baefad24cad2df8f9a60bf4d581d8697;p=poolifier.git diff --git a/docs/classes/ThreadWorker.html b/docs/classes/ThreadWorker.html index 9b927050..019b702c 100644 --- a/docs/classes/ThreadWorker.html +++ b/docs/classes/ThreadWorker.html @@ -1,4 +1,4 @@ -
Inherited from AbstractWorker.runInAsyncScope
+Inherited from AbstractWorker.runInAsyncScope
Protected
runRuns the given function synchronously.
+Function that will be executed.
+Input data for the given function.
+Inherited from AbstractWorker.runSync
+Protected
sendSends a message to the main worker.
+The response message.
+Overrides AbstractWorker.sendToMainWorker
+Overrides AbstractWorker.sendToMainWorker
The same triggerAsyncId
that is passed to the AsyncResource
constructor.
Inherited from AbstractWorker.triggerAsyncId
+ +The same triggerAsyncId
that is passed to the AsyncResource
constructor.
Inherited from AbstractWorker.triggerAsyncId
Static
bindBinds the given function to the current execution context.
-The returned function will have an asyncResource
property referencing
-the AsyncResource
to which the function is bound.
v14.8.0, v12.19.0
The function to bind to the current execution context.
Optional
type: stringOptional
type: stringAn optional name to associate with the underlying AsyncResource
.
Optional
thisArg: ThisArgInherited from AbstractWorker.bind
+Optional
thisArg: ThisArgInherited from AbstractWorker.bind
Generated using TypeDoc
Type of data this worker receives from pool's execution. This can only be serializable data.