Synced
AssetSampleImportTransaction
Section titled “AssetSampleImportTransaction”
- Owns a cancellable sample clone, its pinned generation and its owner-thread publication.
Required contracts
Section titled “Required contracts”API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public sealed class Inno.Assets.Pipeline.AssetSampleImportTransaction : System.IDisposableRemarks
Section titled “Remarks”Advance and Commit run on the AssetPipeline initialization thread. A prepared copy is indexed in an isolated catalog for validation without publishing Changed; ordinary mutations and generation changes are deferred. Rollback must finish before the pipeline or any validation dependency can be released.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | AssetSampleImportTransaction.Advance | Starts background indexing after cloning, then adopts its completed catalog without waiting. |
| Methods | AssetSampleImportTransaction.BeginValidation | Starts one authoring preflight after indexing, retaining its dependencies until it drains. |
| Methods | AssetSampleImportTransaction.Cancel | Requests cancellation of copying and validation while retaining all dependencies. |
| Methods | AssetSampleImportTransaction.Commit | Publishes a successfully validated import exactly once, without waiting for unfinished work. |
| Methods | AssetSampleImportTransaction.Dispose | Retires an uncommitted import on its owner thread after cancellation has drained. |
| Methods | AssetSampleImportTransaction.Rollback | Cancels work and removes an uncommitted copy after all background consumers have drained. |
| Properties | AssetSampleImportTransaction.isFaulted | Gets whether failed publication or retirement has faulted the host and requires a restart. |
| Properties | AssetSampleImportTransaction.isValidationComplete | Gets whether background validation has drained and Commit can inspect its outcome. |
| Properties | AssetSampleImportTransaction.target | Gets the destination path with the original sample directory name preserved. |