Skip to content

applyServerContext

applyServerContext(context, serverContext): Record<string, unknown>

Defined in: visitorContext.ts:112

context with the server’s decisions applied: each of SERVER_CONTEXT_KEYS takes the server’s value, or is removed when the server had none. Without a serverContext, context is returned as is.

Record<string, unknown>

ServerContext | null | undefined

Record<string, unknown>