ps2census
Version:
Client to connect to the PS2 Event Stream websocket.
15 lines • 454 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = nextTick;
function nextTick(callback, ...args) {
if (typeof process !== 'undefined' && process.nextTick) {
process.nextTick(callback, ...args);
}
else if (typeof setImmediate !== 'undefined') {
setImmediate(callback, ...args);
}
else {
setTimeout(callback, 0, ...args);
}
}
//# sourceMappingURL=next-tick.js.map