create

abstract fun <P : PrepareKey<*>> create(metadata: PrepareKeyMetadata<P>): P

Creates a proxy instance of the specified PrepareKey type using the provided metadata.

Return

a proxy instance implementing the PrepareKey interface

Parameters

P

the PrepareKey interface type

metadata

the metadata containing proxy configuration