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