perf: use node: prefix to bypass caching call for builtins
[poolifier.git] / examples / typescript / http-server-pool / fastify-worker_threads / src / fastify-poolifier.ts
index 85e22c12698cc8d3dbe2fb068c005e993ed8872f..74c0c1687a7ee3dd586e570f7968f623f84d42c7 100644 (file)
@@ -1,4 +1,4 @@
-import type { TransferListItem } from 'worker_threads'
+import type { TransferListItem } from 'node:worker_threads'
 import { DynamicThreadPool, availableParallelism } from 'poolifier'
 import { type FastifyPluginCallback } from 'fastify'
 import fp from 'fastify-plugin'