UNPKG

405 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var CacheThread = (function () {
4 function CacheThread() {
5 var _this = this;
6 this.current = -1;
7 this.nodes = [];
8 this.addNode = function (nodeId) {
9 _this.nodes.push(nodeId);
10 _this.current++;
11 };
12 }
13 return CacheThread;
14}());
15exports.default = CacheThread;