The LoaderRegistry used to dispatch each file to
the appropriate loader.
Walk dirPath and load every matching file.
Files are discovered first and then loaded sequentially. Errors thrown
by individual loaders are caught and accumulated in
the returned failed list rather than propagating.
Absolute path to the directory to scan.
Optional include/exclude filters and progress callback.
A promise that resolves to a FolderScanResult.
When dirPath cannot be read as a directory (e.g.
it does not exist or is a regular file).
Recursively scans a directory and loads every file whose extension has a registered loader in the supplied
LoaderRegistry.Example