/opt/canhelp/node_modules/next/dist/esm/server/after
NameSizeModeActions
after-context.js56530644editdlrm
after-context.js.map89260644editdlrm
after.js8090644editdlrm
after.js.map12740644editdlrm
awaiter.js21920644editdlrm
awaiter.js.map36650644editdlrm
builtin-request-context.js8500644editdlrm
builtin-request-context.js.map21330644editdlrm
index.js590644editdlrm
index.js.map1650644editdlrm
run-with-after.js10110644editdlrm
run-with-after.js.map21200644editdlrm
Edit: /opt/canhelp/node_modules/next/dist/esm/server/after/after.js (809B)
import { workAsyncStorage } from '../app-render/work-async-storage.external'; /** * This function allows you to schedule callbacks to be executed after the current request finishes. */ export function after(task) { const workStore = workAsyncStorage.getStore(); if (!workStore) { // TODO(after): the linked docs page talks about *dynamic* APIs, which after soon won't be anymore throw Object.defineProperty(new Error('`after` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context'), "__NEXT_ERROR_CODE", { value: "E468", enumerable: false, configurable: true }); } const { afterContext } = workStore; return afterContext.after(task); } //# sourceMappingURL=after.js.map