recoder-code
Version:
🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!
17 lines (16 loc) • 429 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
function makeNext() {
if (typeof process === "object" && typeof process.nextTick === "function") {
return process.nextTick;
}
else if (typeof setImmediate === "function") {
return setImmediate;
}
else {
return function next(f) {
setTimeout(f, 0);
};
}
}
exports.default = makeNext();