source:
trip-planner-front/node_modules/piscina/test/fixtures/console-log.ts@
eed0bf8
Last change on this file since eed0bf8 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 206 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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.