Page Contents

Home > @loopback/boot > createComponentApplicationBooterBinding

createComponentApplicationBooterBinding() function

Create a binding to register 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 createComponentApplicationBooterBinding(componentApp: Application & Bootable, filter?: BindingFilter): Binding<Booter>;

Parameters

Parameter Type Description
componentApp Application & Bootable The application exposing a component
filter BindingFilter Binding filter to selected bindings to be added

Returns:

Binding<Booter>