feat(core): carry the request context in an AsyncLocalStorage

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-20 02:46:24 +05:30
co-authored by Claude Opus 5
parent 953b1cd692
commit 680ea73975
4 changed files with 151 additions and 61 deletions
+5
View File
@@ -11,6 +11,11 @@ export type {
TFunction,
} from "./context.ts";
export { createContext, withContextHeaders } from "./context.ts";
export {
runWithRequestContext,
getRequestContext,
requireRequestContext,
} from "./request-context.ts";
export { createExecutionContext, executionContextFromHttp } from "./execution-context.ts";
export type {
ExecutionContext,