NET-Web-API-w-Angular/my-app/node_modules/piscina/test/fixtures/move.ts

10 lines
245 B
TypeScript
Executable file

import Piscina from '../..';
import assert from 'assert';
import { types } from 'util';
export default function (moved) {
if (moved !== undefined) {
assert(types.isAnyArrayBuffer(moved));
}
return Piscina.move(new ArrayBuffer(10));
}