Page Contents
Home > @loopback/boot > createBooterForComponentApplication
createBooterForComponentApplication() function
Create a booter that boots the component application. Bindings that exist in the component application before boot
are skipped. Locked bindings in the main application will not be overridden.
Signature:
export declare function createBooterForComponentApplication(componentApp: Application & Bootable, filter?: BindingFilter): Constructor<Booter>;
Parameters
Parameter | Type | Description |
---|---|---|
componentApp | Application & Bootable | The application exposing a component |
filter | BindingFilter | Binding filter to selected bindings to be added |
Returns: