Skip to content

[F] getClientInitialization

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

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

Parameters

ParameterTypeDescription
contextTCGCContext
entityNamespace | Interfacenamespace or interface which represents a client

Returns

| SdkInitializationType | undefined

Deprecated

This function is deprecated. Use getClientInitializationOptions instead.