/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/after
NameSizeModeActions
after-context.d.ts7380666editdlrm
after-context.js62690666editdlrm
after-context.js.map88280666editdlrm
after.d.ts3000666editdlrm
after.js9280666editdlrm
after.js.map12620666editdlrm
awaiter.d.ts9810666editdlrm
awaiter.js21860666editdlrm
awaiter.js.map36650666editdlrm
builtin-request-context.d.ts8400666editdlrm
builtin-request-context.js11480666editdlrm
builtin-request-context.js.map21620666editdlrm
index.d.ts250666editdlrm
index.js5680666editdlrm
index.js.map1610666editdlrm
run-with-after.d.ts4450666editdlrm
run-with-after.js12500666editdlrm
run-with-after.js.map20900666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/server/after/run-with-after.js (1250B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "AfterRunner", { enumerable: true, get: function() { return AfterRunner; } }); const _detachedpromise = require("../../lib/detached-promise"); const _webonclose = require("../web/web-on-close"); const _awaiter = require("./awaiter"); class AfterRunner { async executeAfter() { this.closeController.dispatchClose(); await this.awaiter.awaiting(); // if we got an error while running the callbacks, // thenthis is a noop, because the promise is already rejected this.finishedWithoutErrors.resolve(); return this.finishedWithoutErrors.promise; } constructor(){ this.awaiter = new _awaiter.AwaiterOnce(); this.closeController = new _webonclose.CloseController(); this.finishedWithoutErrors = new _detachedpromise.DetachedPromise(); this.context = { waitUntil: this.awaiter.waitUntil.bind(this.awaiter), onClose: this.closeController.onClose.bind(this.closeController), onTaskError: (error)=>this.finishedWithoutErrors.reject(error) }; } } //# sourceMappingURL=run-with-after.js.map