X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FIWorkerNode.html;h=1b81de1597d5fc38d5515c54f6edc27c997d8a93;hb=baff6fa397ec7acc3a3d0f14bc143e1df4a5230e;hp=4c3e722723c0174f171ecfb2581ddb03a363e93e;hpb=6ddc8fc5fa990a91503f816001d216a002a3ddae;p=poolifier.git diff --git a/docs/interfaces/IWorkerNode.html b/docs/interfaces/IWorkerNode.html index 4c3e7227..1b81de15 100644 --- a/docs/interfaces/IWorkerNode.html +++ b/docs/interfaces/IWorkerNode.html @@ -1,4 +1,4 @@ -
Readonly
closeReadonly
deleteThe task function name.
+true
if the task function worker usage statistics were deleted, false
otherwise.
Readonly
dequeueReadonly
enqueueEnqueue task.
Readonly
getGets task function worker usage statistics.
Readonly
hasWhether the worker node has back pressure (i.e. its tasks queue is full).
Readonly
infoOptional
Readonly
messageOptional
onCallback invoked when worker node tasks queue is back pressured.
-Optional
onCallback invoked when worker node tasks queue is empty.
-Readonly
popReadonly
resetResets usage statistics.
Optional
strategyReadonly
tasksTasks queue size.
Readonly
unshiftPrepends a task to the tasks queue.
Readonly
usageReadonly
workerAppends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched.
+The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture.
+When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET.
+When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners.
+When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed.
+If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted.
+The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture.
+ +Optional
options: boolean | AddEventListenerOptionsInherited from EventTarget.addEventListener
+Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
+ +Inherited from EventTarget.dispatchEvent
+Removes the event listener in target's event listener list with the same type, callback, and options.
+ +Optional
options: boolean | EventListenerOptionsInherited from EventTarget.removeEventListener
+Generated using TypeDoc
Deletes task function worker usage statistics.
+