tricu

An interpreted language for exploring Tree Calculus
Log | Files | Refs | README | LICENSE

local-module-worker.js (257B)


      1 import { validateLocalModule } from './local-modules.js';
      2 const scope = globalThis;
      3 scope.onmessage = ({ data }) => {
      4     void validateLocalModule(data).then(module => scope.postMessage({ module }), error => scope.postMessage({ error: String(error) }));
      5 };