ModelProviderRegistry

public struct ModelProviderRegistry

Registry of ModelProviderDecoder‘s used to retrieve decoders that can create ModelProviders to perform LazyReference functionality.

Warning

Although this has public access, it is intended for internal & codegen use and should not be used directly by host applications. The behavior of this may change without warning. Though it is not used by host application making any change to these public types should be backward compatible, otherwise it will be a breaking change.
  • Register a decoder during plugin configuration time, to allow runtime retrievals of model providers.

    Declaration

    Swift

    public static func registerDecoder(_ decoder: ModelProviderDecoder.Type)
  • Static decoder sources that will be referenced to initialize different type of decoders having source as a metadata.

    See more

    Declaration

    Swift

    struct DecoderSource