Asper Header  1.0.14
The header injector extension
Loading...
Searching...
No Matches
LazyFileLoader< T=any > Class Reference
Collaboration diagram for LazyFileLoader< T=any >:
Collaboration graph

Public Member Functions

 constructor (filePath:string|undefined=undefined, cwd:string|undefined=undefined, alternateFilePath:string|undefined=undefined)
 Constructor for LazyFileLoader.
 

Detailed Description

Definition at line 99 of file lazyFileLoad.ts.

Member Function Documentation

◆ constructor()

LazyFileLoader< T=any >::constructor ( filePath:string| undefined = undefined,
cwd:string| undefined = undefined,
alternateFilePath:string| undefined = undefined )
inline

Constructor for LazyFileLoader.

Parameters
filePathOptional path to the file to be loaded
cwdOptional current working directory for path resolution

Initializes the lazy file loader with optional file path and working directory. The file is not loaded until the first call to get().

Definition at line 120 of file lazyFileLoad.ts.


The documentation for this class was generated from the following file: