The angulardev application in the AppDev project workspace uses the very convenient APP_INITIALIZER dependency injection token to read in the necessary files needed to start the application before anything else happens, so the application won't have to wait for the file contents to be retrieved. This eliminates any asynchronous errors at app creation, and should be used in the Infomapper in the future as well.
This token uses a function that called the .toPromise() function to convert an observable to a promise. This has been deprecated in RXJS version 7 and will not exist in version 8.
The angulardev application in the AppDev project workspace uses the very convenient APP_INITIALIZER dependency injection token to read in the necessary files needed to start the application before anything else happens, so the application won't have to wait for the file contents to be retrieved. This eliminates any asynchronous errors at app creation, and should be used in the Infomapper in the future as well.
This token uses a function that called the
.toPromise()
function to convert an observable to a promise. This has been deprecated in RXJS version 7 and will not exist in version 8.