Page Contents

Home > @loopback/boot > BaseArtifactBooter > load

BaseArtifactBooter.load() method

Filters the exports of ‘discovered’ files to only be Classes (in case function / types are exported) as an artifact is a Class. The filtered artifact Classes are saved in the ‘classes’ property.

NOTE: Booters extending this class should call this method (await super.load()) and then process the artifact classes as appropriate.

Signature:

load(): Promise<void>;

Returns:

Promise<void>