Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Exports a runtime-only artifact snapshot on a worker without loading artifact files into memory.

API: engine
Project: Inno.Assets.Pipeline

public System.Threading.Tasks.Task<Inno.Assets.AssetRuntimeContentInfo> Inno.Assets.Pipeline.AssetPipeline.ExportRuntimeArtifactsAsync(string destinationContentRoot, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

Keeps generation admission and serialization pinned until the worker completes, fails or cancels. A pending or faulted generation cannot start a new export.

Parameter destinationContentRoot: The empty destination that receives the runtime asset database.

Parameter cancellationToken: The token checked while individual artifact files are copied.

A task that completes with counts and source identities for the captured runtime snapshot.

Exception T:System.InvalidOperationException: Thrown when runtime artifacts are incomplete, transitive authoring inputs have failed or become stale, or the asset service is not available.

Exception T:System.OperationCanceledException: Thrown when cancellation is requested before export completes.