[F] createSdkContext
function createSdkContext<TOptions, TServiceOperation>( context, emitterName?,options?): Promise<SdkContext<TOptions, TServiceOperation>>;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TOptions extends Record<string, any> | BrandedSdkEmitterOptionsInterface |
TServiceOperation extends SdkHttpOperation | SdkHttpOperation |
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
context | EmitContext<TOptions> |
emitterName? | string |
options? | CreateSdkContextOptions |
Returns
Section titled “Returns”Promise<SdkContext<TOptions, TServiceOperation>>