Page Contents

Home > @loopback/boot > bindBooter

bindBooter() function

Method which binds a given Booter to a given Context with the Prefix and Tags expected by the Bootstrapper

Signature:

export declare function bindBooter(ctx: Context, booterCls: Constructor<Booter>): Binding;

Parameters

Parameter Type Description
ctx Context The Context to bind the Booter Class
booterCls Constructor<Booter> Booter class to be bound

Returns:

Binding