Synced
AssetArtifactWriter.WriteAsync
Section titled “AssetArtifactWriter.WriteAsync”
- Writes one named build output.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public System.Threading.Tasks.ValueTask Inno.Assets.Pipeline.AssetArtifactWriter.WriteAsync(string outputName, System.ReadOnlyMemory<byte> bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken), Inno.Assets.Pipeline.AssetDeploymentScope deploymentScope = Inno.Assets.Pipeline.AssetDeploymentScope.Runtime)Parameters
Section titled “Parameters”Parameter outputName: The stable output name.
Parameter bytes: The output content.
Parameter cancellationToken: Cancellation for the write operation.
Parameter deploymentScope: Whether runtime packages retain this output.
Returns
Section titled “Returns”A completed operation after the output has been staged.