UNPKG
@sohale/implisolid
Version:
latest (0.0.1)
1.0.1
1.0.0
0.0.1
A Solid Modelling Kernel in Javascript based on Implicit Surfaces, for MP5 file format
@sohale/implisolid
/
js_iteration_1
/
everything-else
/
worker_test.js
8 lines
(7 loc)
•
250 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
onmessage =
function
(
e
) {
console
.
log
(
'Message received from main script'
);
//var workerResult = 'Result: ' + (e.data);
//console.log('Posting message back to main script');
//postMessage(workerResult);
console
.
log
(
"received: "
, e.
data
); }