source:
trip-planner-front/node_modules/piscina/test/fixtures/console-log.ts@
8d391a1
Last change on this file since 8d391a1 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 206 bytes |
Line | |
---|---|
1 | import Piscina from '../..'; |
2 | import { resolve } from 'path'; |
3 | |
4 | const pool = new Piscina({ |
5 | filename: resolve(__dirname, 'eval.js'), |
6 | maxThreads: 1 |
7 | }); |
8 | |
9 | pool.runTask('console.log("A"); console.log("B");'); |
Note:
See TracBrowser
for help on using the repository browser.