Skip to content

[F] getClientInitialization

function getClientInitialization(context, entity):
| undefined
| SdkInitializationType;

Get SdkInitializationType for namespace or interface. The info is from @clientInitialization decorator.

ParameterTypeDescription
contextTCGCContext
entityInterface | Namespacenamespace or interface which represents a client

| undefined | SdkInitializationType

This function is deprecated. Use getClientInitializationOptions instead.