Preparing search index...
The search index is not available
Documentation
Documentation
@openfeature/server-sdk
HookContext
Interface HookContext<T>
interface
HookContext
<
T
>
{
clientMetadata
:
ClientMetadata
;
context
:
Readonly
<
EvaluationContext
>
;
defaultValue
:
T
;
flagKey
:
string
;
flagValueType
:
FlagValueType
;
logger
:
Logger
;
providerMetadata
:
ProviderMetadata
;
}
Type Parameters
T
extends
FlagValue
=
FlagValue
Hierarchy (
view full
)
HookContext
BeforeHookContext
Index
Properties
client
Metadata
context
default
Value
flag
Key
flag
Value
Type
logger
provider
Metadata
Properties
Readonly
client
Metadata
client
Metadata
:
ClientMetadata
Readonly
context
context
:
Readonly
<
EvaluationContext
>
Readonly
default
Value
default
Value
:
T
Readonly
flag
Key
flag
Key
:
string
Readonly
flag
Value
Type
flag
Value
Type
:
FlagValueType
Readonly
logger
logger
:
Logger
Readonly
provider
Metadata
provider
Metadata
:
ProviderMetadata
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
client
Metadata
context
default
Value
flag
Key
flag
Value
Type
logger
provider
Metadata
Documentation
Loading...