repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: add type enforcement to message passing
[poolifier.git]
/
src
/
pools
/
cluster
/
fixed.ts
diff --git
a/src/pools/cluster/fixed.ts
b/src/pools/cluster/fixed.ts
index e4cc7d6e232d30d0da85607ec87661a31892c2c9..c60266e3d72b623fb9225dcc20882c064d29438c 100644
(file)
--- a/
src/pools/cluster/fixed.ts
+++ b/
src/pools/cluster/fixed.ts
@@
-55,7
+55,7
@@
export class FixedClusterPool<
this.workerNodes[workerNodeKey].worker.send({
...message,
workerId: this.getWorkerInfo(workerNodeKey)?.id
- })
+ }
satisfies MessageValue<Data>
)
}
/** @inheritDoc */