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