Doc
This commit is contained in:
@@ -3,6 +3,9 @@ import { Context, Layer } from "effect"
|
|||||||
import type { TRPCContext } from "./TRPCContext"
|
import type { TRPCContext } from "./TRPCContext"
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Provides a function that instantiates a fresh context for each tRPC procedure call
|
||||||
|
*/
|
||||||
export class CreateTRPCContext extends Context.Tag("CreateTRPCContext")<CreateTRPCContext,
|
export class CreateTRPCContext extends Context.Tag("CreateTRPCContext")<CreateTRPCContext,
|
||||||
(opts: CreateExpressContextOptions) => TRPCContext
|
(opts: CreateExpressContextOptions) => TRPCContext
|
||||||
>() {}
|
>() {}
|
||||||
|
|||||||
Reference in New Issue
Block a user