Method LoadAsync
LoadAsync(IProgress<string>, CancellationToken)
Loads (or reloads) every package. This is the loading path, on every platform.
Whether a given read is a file read or a web request is decided per path by ContentPaths,
not by an #if here: the desktop and the browser run the same code, so a platform cannot quietly
diverge (that is how the browser used to "load" content with zero definitions). On a local platform
nothing below yields - so Load(IProgress<string>) can call this and block - while in a browser the web
requests genuinely await.
On failure the previous data is kept and LastReport says why.
public static Task<ContentLoadReport> LoadAsync(IProgress<string> progress = null, CancellationToken ct = default)
Parameters
progressIProgress<string>ctCancellationToken