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/http-client-pool/poolifier-3.0...
[poolifier.git]
/
examples
/
typescript
/
websocket-server-pool
/
ws-worker_threads
/
src
/
main.ts
diff --git
a/examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
b/examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
index 6283759d403047be2837b8322147f0741973adcd..d5b2cc78e8e4feda873602ea9b1074e581d3d8f9 100644
(file)
--- a/
examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
+++ b/
examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts
@@
-10,7
+10,7
@@
const wss = new WebSocketServer({ port }, () => {
})
const emptyFunction = (): void => {
})
const emptyFunction = (): void => {
- /*
*
Intentional */
+ /* Intentional */
}
wss.on('connection', ws => {
}
wss.on('connection', ws => {
@@
-31,7
+31,7
@@
wss.on('connection', ws => {
data: response.data
})
)
data: response.data
})
)
- return
null
+ return
undefined
})
.catch(emptyFunction)
break
})
.catch(emptyFunction)
break
@@
-45,7
+45,7
@@
wss.on('connection', ws => {
data: response.data
})
)
data: response.data
})
)
- return
null
+ return
undefined
})
.catch(emptyFunction)
break
})
.catch(emptyFunction)
break