repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/smtp-client-pool/poolifier-3.0...
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
selection-strategies-types.ts
diff --git
a/src/pools/selection-strategies/selection-strategies-types.ts
b/src/pools/selection-strategies/selection-strategies-types.ts
index 5d490638ad2dbb9348cad7318b2258b83cbdad95..6990e65fcf365e340b118f2b6fcc0a00c2214a57 100644
(file)
--- a/
src/pools/selection-strategies/selection-strategies-types.ts
+++ b/
src/pools/selection-strategies/selection-strategies-types.ts
@@
-208,4
+208,10
@@
export interface IWorkerChoiceStrategy {
* @param opts - The worker choice strategy options.
*/
readonly setOptions: (opts: WorkerChoiceStrategyOptions) => void
* @param opts - The worker choice strategy options.
*/
readonly setOptions: (opts: WorkerChoiceStrategyOptions) => void
+ /**
+ * Whether the pool has worker nodes ready or not.
+ *
+ * @returns Whether the pool has worker nodes ready or not.
+ */
+ readonly hasPoolWorkerNodesReady: () => boolean
}
}