source:
trip-planner-front/node_modules/piscina/test/fixtures/move.ts@
571e0df
Last change on this file since 571e0df 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.