Strapi multithreading

How to create and use node worker threads in strapi and perform operations with strapi

You could use the following method.

const { Worker, isMainThread, parentPort, workerData } = require(‘worker_threads’);