repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: generate documentation
[poolifier.git]
/
src
/
utils.ts
diff --git
a/src/utils.ts
b/src/utils.ts
index d85c5ba58b4988fad867a9b35f9dca5bb5bb2b45..fc328a6c688e2d85f04a04be0e4874584ad5c57c 100644
(file)
--- a/
src/utils.ts
+++ b/
src/utils.ts
@@
-1,3
+1,5
@@
+import type { WorkerChoiceStrategyOptions } from './pools/selection-strategies/selection-strategies-types'
+
/**
* An intentional empty function.
*/
/**
* An intentional empty function.
*/
@@
-6,7
+8,15
@@
export const EMPTY_FUNCTION: () => void = Object.freeze(() => {
})
/**
})
/**
- * Returns the median of the given data set.
+ * Default worker choice strategy options.
+ */
+export const DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS: WorkerChoiceStrategyOptions =
+ {
+ medRunTime: false
+ }
+
+/**
+ * Compute the median of the given data set.
*
* @param dataSet - Data set.
* @returns The median of the given data set.
*
* @param dataSet - Data set.
* @returns The median of the given data set.