cesium/Specs/TestWorkers/throwError.js

6 lines
169 B
JavaScript

import { createTaskProcessorWorker } from "@cesium/engine";
export default createTaskProcessorWorker(function (parameters) {
throw new Error(parameters.message);
});