registerDynamic(featuresToRegister: string | string[], silentMode?: boolean): Promise<void>¶
The registerDynamic
is an asynchronous method that allows to register a dynamic feature or an array of dynamic features.
Input parameters¶
featuresToRegister¶
featuresToRegister
is a mandatory parameter of the string | string[]
type which represents a static feature or an array of static features to registerDynamic.
silentMode (optional)¶
silentMode
is an optional parameter of the boolean
type. If set to true
the potential errors won't be thrown into the console.
Returned value¶
A returned value has a type of Promise<void>
as this method does not return anything.
Example¶
In this example we make a FeatureSystemApi
call to register an array of dynamic features.