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

10 lines
206 B
TypeScript

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");');