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

11 lines
245 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
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));
}