parcoursup/node_modules/are-we-there-yet/lib/tracker-base.js
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

12 lines
274 B
JavaScript

'use strict'
var EventEmitter = require('events').EventEmitter
var util = require('util')
var trackerId = 0
var TrackerBase = module.exports = function (name) {
EventEmitter.call(this)
this.id = ++trackerId
this.name = name
}
util.inherits(TrackerBase, EventEmitter)