refactor: refine code examples
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 27 Sep 2023 18:11:02 +0000 (20:11 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 27 Sep 2023 18:11:02 +0000 (20:11 +0200)
commit8538ea4ccb5672b3d4b846db1bedf80135c1df8b
tree69464859682a62ecad8d52b711e8d6d9e0409df2
parenta9e41bb1945d22c2e7a48a28d7f2c8203cbb19c2
refactor: refine code examples

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
13 files changed:
README.md
examples/javascript/dynamicExample.js
examples/javascript/fixedExample.js
examples/javascript/yourWorker.js
examples/typescript/http-server-pool/express-cluster/src/worker.ts
examples/typescript/http-server-pool/express-hybrid/src/request-handler-worker.ts
examples/typescript/http-server-pool/express-worker_threads/src/worker.ts
examples/typescript/http-server-pool/fastify-cluster/src/worker.ts
examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts
examples/typescript/http-server-pool/fastify-worker_threads/src/worker.ts
examples/typescript/websocket-server-pool/ws-cluster/src/worker.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/request-handler-worker.ts
examples/typescript/websocket-server-pool/ws-worker_threads/src/worker.ts