When attempting to send a Map.String.t to a web worker, I got an error:
Failed to execute 'postMessage' on 'DedicatedWorkerGlobalScope': function caml_compare(_a, _b) {
while(true) {
var b = _b;
var a = _a;
if (a === b) {
return...<omitted>...
} could not be cloned.
This was not the case in 0.0.7. I think the difference is that StrDict in 0.0.7 was a Belt.MapString, which had a built-in comparator.
When attempting to send a Map.String.t to a web worker, I got an error:
This was not the case in 0.0.7. I think the difference is that StrDict in 0.0.7 was a Belt.MapString, which had a built-in comparator.