source:
trip-planner-front/node_modules/piscina/test/fixtures/move.ts@
8d391a1
Last change on this file since 8d391a1 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 245 bytes |
Line | |
---|---|
1 | import Piscina from '../..'; |
2 | import assert from 'assert'; |
3 | import { types } from 'util'; |
4 | |
5 | export default function (moved) { |
6 | if (moved !== undefined) { |
7 | assert(types.isAnyArrayBuffer(moved)); |
8 | } |
9 | return Piscina.move(new ArrayBuffer(10)); |
10 | } |
Note:
See TracBrowser
for help on using the repository browser.