@adcp/sdk API Reference - v14.3.0
    Preparing search index...

    Type Alias LegacyFormatResolver

    LegacyFormatResolver: (
        context: LegacyFormatResolutionContext,
    ) =>
        | PromiseLike<V2ProductFormatDeclaration | null | undefined>
        | V2ProductFormatDeclaration
        | null
        | undefined

    Asynchronous counterpart to LegacyFormatConverter. Intended for catalog/database lookups that must complete before a server projects a legacy get_products result onto its canonical wire boundary.

    Type Declaration

      • (
            context: LegacyFormatResolutionContext,
        ):
            | PromiseLike<V2ProductFormatDeclaration | null | undefined>
            | V2ProductFormatDeclaration
            | null
            | undefined
      • Parameters

        Returns
            | PromiseLike<V2ProductFormatDeclaration | null | undefined>
            | V2ProductFormatDeclaration
            | null
            | undefined