repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix: fix pool.addTaskFunction() type definition
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-hybrid
/
src
/
main.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
b/examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
index 9e6638994c9513d487a22b38b7c9ac7faa9b366f..f1c755060a118c6177c9f2d814578b305e3c0faa 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
+++ b/
examples/typescript/websocket-server-pool/ws-hybrid/src/main.ts
@@
-45,7
+45,7
@@
const pool = new FixedClusterPool<ClusterWorkerData, ClusterWorkerResponse>(
}
return undefined
})
- .catch(
error
=> {
+ .catch(
(error: unknown)
=> {
console.error(
'WebSocket server failed to start in cluster worker:',
error