parallel.es
parallel.es copied to clipboard
ES6 function parameter destructuring support
ES6 allows destructuring of function parameters, e.g.
export function knightTours(startPath, { board, boardSize }) {}
Such a function is currently not correctly seralized / deserialized and therefore fails when being executed on a worker.
Add support for functions using destructuring.