downloadAndInstall()
Downloads and installs assets not already on the device.
Declaration
final func downloadAndInstall() async throwsDiscussion
If the system is unable to immediately download assets because of a connectivity issue or other error, the system will automatically attempt to download the assets later. This method will return when the initial download and installation attempt has succeeded or failed; use status(forModules:) or another installation request to monitor the success or progress of later attempts.
The system consolidates download and installation requests; you may call this method several times without causing redundant downloads.