Son CV dans un terminal web en Javascript! https://terminal-cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
450 B

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.child = void 0;
exports.setChild = setChild;
// This file is imported by both the WorkerFarm and child implementation.
// When a worker is inited, it sets the state in this file.
// This way, WorkerFarm can access the state without directly importing the child code.
let child = null;
exports.child = child;
function setChild(c) {
exports.child = child = c;
}