Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Publishes a successfully validated import exactly once, without waiting for unfinished work.

API: engine
Project: Inno.Assets.Pipeline

public void Inno.Assets.Pipeline.AssetSampleImportTransaction.Commit(System.Action<Inno.Assets.AssetPath>? beforePublish = null)

Parameter beforePublish: Optional owner-thread finalization, such as recording neutral History data. Failure leaves the transaction open for Rollback and no Changed notification is published.

Exception T:System.InvalidOperationException: Validation is unfinished, the transaction is finished, or the caller is not its owner thread.

Exception T:System.OperationCanceledException: The import or its validation was canceled before publication.