Icard/angular-clarity-master(work.../node_modules/piscina/test/fixtures/move.ts

11 lines
245 B
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +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));
}