Type Alias: CreateContextCallback<TContext, TFunction>
On this page
CreateContextCallback<
TContext,TFunction>:PartialIf<objectextendsTContext?true:false, {createContext:TFunction; }>
Defined in: packages/server/src/unstable-core-do-not-import/rootConfig.ts:161
Adds a createContext option to an adapter's options. It's optional
when the context is an empty object.
Type Parameters
| Type Parameter |
|---|
TContext |
TFunction extends (...args) => any |