+import type { TransferListItem } from 'node:worker_threads'
+
import type * as fastify from 'fastify'
-import { type DynamicThreadPool } from 'poolifier'
+import type { DynamicThreadPool } from 'poolifier'
+
import {
type ThreadWorkerData,
type ThreadWorkerResponse
execute: (
data?: ThreadWorkerData,
name?: string,
- transferList?: TransferListItem[]
+ transferList?: readonly TransferListItem[]
) => Promise<ThreadWorkerResponse>
- listTaskFunctions: () => string[]
}
}