Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:10
Methods
get
get ( key ) : undefined | ItemDescriptor
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:14
get All
get All ( ) : { [key : string ]: ItemDescriptor ; }
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:18
init
init ( context , newFlags ) : Promise < void >
Returns Promise < void >
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:25
load Cached
load Cached ( context ) : Promise < boolean >
Returns Promise < boolean >
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:36
off
off ( callback ) : void
Parameters
callback : FlagsChangeCallback
Returns void
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:51
on
on ( callback ) : void
Parameters
callback : FlagsChangeCallback
Returns void
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:47
set Bootstrap
set Bootstrap ( context , newFlags ) : void
Returns void
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:41
upsert
upsert ( context , key , item ) : Promise < boolean >
Returns Promise < boolean >
Defined in packages/shared/sdk-client/dist/esm/flag-manager/FlagManager.d.ts:32
Top level manager of flags for the client. LDClient should be using this interface and not any of the specific instances managed by it. Updates from data sources should be directed to the [init] and [upsert] methods of this interface.