source: trip-planner-front/node_modules/piscina/test/fixtures/console-log.ts@ 6fe77af

Last change on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 206 bytes
Line 
1import Piscina from '../..';
2import { resolve } from 'path';
3
4const pool = new Piscina({
5 filename: resolve(__dirname, 'eval.js'),
6 maxThreads: 1
7});
8
9pool.runTask('console.log("A"); console.log("B");');
Note: See TracBrowser for help on using the repository browser.