more fdm slicing work
This commit is contained in:
parent
6e172fe40f
commit
c1ee342dbb
9 changed files with 45 additions and 52 deletions
|
|
@ -68,11 +68,12 @@ export const client = {
|
|||
} else {
|
||||
let worker = new Worker(`/v2/lib/kiri-run/worker.js`, { type: 'module' });
|
||||
worker.onerror = (error) => {
|
||||
console.log({ worker_error: error });
|
||||
console.log({ WORKER_ERROR: error });
|
||||
error.preventDefault();
|
||||
};
|
||||
worker.onmessageerror = (error) => {
|
||||
console.log({ worker_message_error: error });
|
||||
console.log({ WORKER_MESSAGE_ERROR: error });
|
||||
error.preventDefault();
|
||||
};
|
||||
console.log({ worker });
|
||||
return worker;
|
||||
|
|
|
|||
Loading…
Reference in a new issue