@farmart-tech/brave-react-adapter
Preparing search index...
FeatureReaderContextType
Interface FeatureReaderContextType
interface
FeatureReaderContextType
{
connection
:
TConnection
;
error
:
Error
|
null
;
featureReaderConfig
:
IFeatureReaderOptions
;
features
:
Record
<
string
,
Feature
>
|
null
;
getFeature
:
(
key
:
string
)
=>
Feature
|
null
;
getFeatureListEnabled
:
()
=>
Promise
<
{
[
key
:
string
]:
{
isEnabled
:
boolean
;
userRegisterBeforeFeatureRelease
:
boolean
;
}
;
}
,
>
;
getIsFeatureEnabled
:
(
featureName
:
string
)
=>
Promise
<
boolean
>
;
loading
:
boolean
;
onFeatureFlagEvaluate
:
|
(
(
flagName
:
string
,
flagValue
:
boolean
|
undefined
)
=>
void
)
|
null
;
reader
:
FeatureFlagReader
;
refetchFeatureFlags
:
()
=>
void
;
updateFeatureReaderConfig
:
(
config
:
Partial
<
IFeatureReaderOptions
>
)
=>
void
;
updateWorkspace
:
(
ws
:
string
)
=>
void
;
}
Index
Properties
connection
error
feature
Reader
Config
features
get
Feature
get
Feature
List
Enabled
get
Is
Feature
Enabled
loading
on
Feature
Flag
Evaluate
reader
refetch
Feature
Flags
update
Feature
Reader
Config
update
Workspace
Properties
connection
connection
:
TConnection
error
error
:
Error
|
null
feature
Reader
Config
featureReaderConfig
:
IFeatureReaderOptions
features
features
:
Record
<
string
,
Feature
>
|
null
get
Feature
getFeature
:
(
key
:
string
)
=>
Feature
|
null
get
Feature
List
Enabled
getFeatureListEnabled
:
()
=>
Promise
<
{
[
key
:
string
]:
{
isEnabled
:
boolean
;
userRegisterBeforeFeatureRelease
:
boolean
;
}
;
}
,
>
get
Is
Feature
Enabled
getIsFeatureEnabled
:
(
featureName
:
string
)
=>
Promise
<
boolean
>
loading
loading
:
boolean
on
Feature
Flag
Evaluate
onFeatureFlagEvaluate
:
|
(
(
flagName
:
string
,
flagValue
:
boolean
|
undefined
)
=>
void
)
|
null
reader
reader
:
FeatureFlagReader
refetch
Feature
Flags
refetchFeatureFlags
:
()
=>
void
update
Feature
Reader
Config
updateFeatureReaderConfig
:
(
config
:
Partial
<
IFeatureReaderOptions
>
)
=>
void
update
Workspace
updateWorkspace
:
(
ws
:
string
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
connection
error
feature
Reader
Config
features
get
Feature
get
Feature
List
Enabled
get
Is
Feature
Enabled
loading
on
Feature
Flag
Evaluate
reader
refetch
Feature
Flags
update
Feature
Reader
Config
update
Workspace
@farmart-tech/brave-react-adapter
Loading...