repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into combined-prs-branch
[poolifier.git]
/
examples
/
typescript
/
http-server-pool
/
fastify-worker_threads
/
src
/
fastify-poolifier.ts
diff --git
a/examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
b/examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
index 766ef44ec3fdcbb5e1e11304340d8065d47e03c1..450a2aeaf2c7fda086aa19d117c5af5c20636ed2 100644
(file)
--- a/
examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
+++ b/
examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
@@
-38,7
+38,7
@@
const fastifyPoolifierPlugin: FastifyPluginCallback<FastifyPoolifierOptions> = (
async (
data?: WorkerData,
name?: string,
async (
data?: WorkerData,
name?: string,
- transferList?: TransferListItem[]
+ transferList?:
readonly
TransferListItem[]
): Promise<WorkerResponse> => await pool.execute(data, name, transferList)
)
}
): Promise<WorkerResponse> => await pool.execute(data, name, transferList)
)
}