UNPKG

zurvan

Version:

A library for simulating time in Node.js

12 lines (8 loc) 340 B
'use strict'; var Timer = require('./Timer'); function TimeoutTimer(callback, timerRepository, currentTime, callDelay) { Timer.bind(this)(callback, timerRepository, currentTime, callDelay); } TimeoutTimer.prototype = Object.create(Timer.prototype); TimeoutTimer.prototype.precall = function ignore() {}; module.exports = TimeoutTimer;