Class SettingsStorageAsyncExtensions
Task-based compatibility wrappers around the ISettingsStorage surface. These extension methods are provided for callers that prefer async/await over observables.
public static class SettingsStorageAsyncExtensions
- Inheritance
-
SettingsStorageAsyncExtensions
Methods
InitializeAsync(ISettingsStorage)
Initializes the settings storage asynchronously.
[RequiresUnreferencedCode("Settings initialization requires types to be preserved for reflection.")]
[RequiresDynamicCode("Settings initialization requires types to be preserved for reflection.")]
public static Task InitializeAsync(this ISettingsStorage storage)
Parameters
storageISettingsStorageThe settings storage to initialize.
Returns
- Task
A task that completes once every property's cold load from disk has finished.