repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into feature/task-functions
[poolifier.git]
/
src
/
pools
/
worker.ts
diff --git
a/src/pools/worker.ts
b/src/pools/worker.ts
index 456bf785c74eff79cf45441be1c096633ce1bc11..37d6308507669dd1f0ebcc295b790a1857c16a3e 100644
(file)
--- a/
src/pools/worker.ts
+++ b/
src/pools/worker.ts
@@
-144,7
+144,7
@@
export interface WorkerInfo {
/**
* Task function names.
*/
/**
* Task function names.
*/
- taskFunctions?: string[]
+ taskFunction
Name
s?: string[]
}
/**
}
/**
@@
-172,7
+172,9
@@
export interface WorkerUsage {
}
/**
}
/**
- * Worker strategy data.
+ * Worker choice strategy data.
+ *
+ * @internal
*/
export interface StrategyData {
virtualTaskEndTimestamp?: number
*/
export interface StrategyData {
virtualTaskEndTimestamp?: number
@@
-235,7
+237,7
@@
export interface IWorkerNode<Worker extends IWorker, Data = unknown> {
*/
readonly usage: WorkerUsage
/**
*/
readonly usage: WorkerUsage
/**
- * Worker strategy data.
+ * Worker
choice
strategy data.
* This is used to store data that is specific to the worker choice strategy.
*/
strategyData?: StrategyData
* This is used to store data that is specific to the worker choice strategy.
*/
strategyData?: StrategyData