10 lines
245 B
TypeScript
Executable file
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));
|
|
}
|