AssetStoreOrderUpdater
public sealed class AssetStoreOrderUpdater : ActionProgressRuns order synchronization in the normal inventory action progress and cancellation lifecycle.
Methods
Section titled “Methods”
ReadProgress()
Section titled “ReadProgress()”public static OrderRefreshProgress ReadProgress()Returns a detached snapshot of active order synchronization or the last completed refresh, including waiting and ready states.
Returns
AssetInventory.OrderRefreshProgress
CancelActive()
Section titled “CancelActive()”public static void CancelActive()Requests cancellation of running progress objects for the order synchronization action.
Run(bool, CancellationToken, Task)
Section titled “Run(bool, CancellationToken, Task)”public Task<OrderRefreshResult> Run(bool force, CancellationToken cancellationToken, Task prerequisite = null)Waits for an optional prerequisite, then synchronizes orders through action progress with linked cancellation and returns the refresh result.
Parameters
| Name | Type |
|---|---|
force |
System.Boolean |
cancellationToken |
System.Threading.CancellationToken |
prerequisite |
System.Threading.Tasks.Task |
Returns
System.Threading.Tasks.Task{AssetInventory.OrderRefreshResult}
Constructors
Section titled “Constructors”
AssetStoreOrderUpdater()
Section titled “AssetStoreOrderUpdater()”public AssetStoreOrderUpdater()Properties
Section titled “Properties”
Result
Section titled “Result”public OrderRefreshResult Result { get; }Returns
AssetInventory.OrderRefreshResult
IsActive
Section titled “IsActive”public static bool IsActive { get; }Returns
System.Boolean