Icard/angular-clarity-master(work.../node_modules/piscina/test/fixtures/console-log.ts

10 lines
206 B
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
import Piscina from '../..';
import { resolve } from 'path';
const pool = new Piscina({
filename: resolve(__dirname, 'eval.js'),
maxThreads: 1
});
pool.runTask('console.log("A"); console.log("B");');