Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Owns a cancellable sample clone, its pinned generation and its owner-thread publication.

API: engine
Implements: System.IDisposable
Inherits: object
Project: Inno.Assets.Pipeline

public sealed class Inno.Assets.Pipeline.AssetSampleImportTransaction : System.IDisposable

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.

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.