schema-components - v3.7.0
    Preparing search index...

    Variable resolverContextPortConst

    resolverContextPort: {
        provide(
            host: ReactiveControllerHost & ReactiveElement,
            value: LitComponentResolver,
        ): { setValue: (value: LitComponentResolver) => void };
        consume(
            host: ReactiveControllerHost & ReactiveElement,
        ): { value?: LitComponentResolver };
    } = ...

    Lit binding wrapping ContextProvider / ContextConsumer from @lit/context for the resolverContext.

    The port is host-scoped — both provide and consume require a ReactiveControllerHost reference so @lit/context can register its controllers on the element's lifecycle. This is unavoidable given Lit's reactive update model and is the reason the Lit port does not match the canonical ContextPort signature in core/contexts.ts directly — see this module's docstring for the rationale.

    Type Declaration