refactor: encapsulate code into classes in examples
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 18:00:04 +0000 (20:00 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 13 Aug 2023 18:00:04 +0000 (20:00 +0200)
commit3d49c6d2f943532974cefa71f13af2c313555d95
tree0c53bdda6e3d68c9490daf931123d7aecc0fbe31
parent63ff88a9d5c789fe23036c1fed24e5d3853d2969
refactor: encapsulate code into classes in examples

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
examples/typescript/http-server-pool/fastify-cluster/src/worker.ts
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-worker.ts
examples/typescript/websocket-server-pool/ws-cluster/src/worker.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/websocket-server-worker.ts