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-server-pool/express-worker_thr...
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-hybrid
/
src
/
types.ts
diff --git
a/examples/typescript/http-server-pool/fastify-hybrid/src/types.ts
b/examples/typescript/http-server-pool/fastify-hybrid/src/types.ts
index e9c516f00a075cb2bfde3070cbd1ab909ce35fc5..179ac65edd4cd708c4babe4728599a961fe9c1a1 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-hybrid/src/types.ts
+++ b/
examples/typescript/http-server-pool/fastify-hybrid/src/types.ts
@@
-9,16
+9,16
@@
export interface ClusterWorkerResponse {
port?: number
}
port?: number
}
-export interface
Body
Payload {
+export interface
Data
Payload {
number?: number
}
export interface ThreadWorkerData<T = unknown> {
number?: number
}
export interface ThreadWorkerData<T = unknown> {
-
body
: T
+
data
: T
}
export interface ThreadWorkerResponse<T = unknown> {
}
export interface ThreadWorkerResponse<T = unknown> {
-
body
: T
+
data
: T
}
export interface FastifyPoolifierOptions extends ThreadPoolOptions {
}
export interface FastifyPoolifierOptions extends ThreadPoolOptions {