MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / booter

Function booter

packages/boot/src/types.ts:162–173  ·  view source on GitHub ↗
(artifactNamespace: string, ...specs: BindingSpec[])

Source from the content-addressed store, hash-verified

160 * @param specs - Extra specs for the binding
161 */
162export function booter(artifactNamespace: string, ...specs: BindingSpec[]) {
163 return injectable(
164 {
165 tags: {
166 artifactNamespace,
167 [BootTags.BOOTER]: BootTags.BOOTER,
168 [ContextTags.NAMESPACE]: BootBindings.BOOTERS,
169 },
170 },
171 ...specs,
172 );
173}
174
175/**
176 * Interface to describe an object that may have an array of `booters`.

Calls 1

injectableFunction · 0.85

Tested by

no test coverage detected