X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fwebsocket-server-pool%2Fws-worker_threads%2Fsrc%2Fmain.ts;h=d5b2cc78e8e4feda873602ea9b1074e581d3d8f9;hb=6d05a26bd9cfc3319abf1929fc311a97bdaf97d3;hp=c8478366a77dc18faa0219cbe809935c1ab5669a;hpb=041dc05b2a95b36db72525072ba54c4c58ffcf0e;p=poolifier.git 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 c8478366..d5b2cc78 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/src/main.ts @@ -31,7 +31,7 @@ wss.on('connection', ws => { data: response.data }) ) - return null + return undefined }) .catch(emptyFunction) break @@ -45,7 +45,7 @@ wss.on('connection', ws => { data: response.data }) ) - return null + return undefined }) .catch(emptyFunction) break