Synced
AssetArtifactWriter.WriteAsync
Section titled “AssetArtifactWriter.WriteAsync”
- Writes one named build output.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor
Declaration
Section titled “Declaration”public System.Threading.Tasks.ValueTask InnoEditor.Assets.AssetArtifactWriter.WriteAsync(string outputName, System.ReadOnlyMemory<byte> bytes, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken), InnoEditor.Assets.AssetDeploymentScope deploymentScope = InnoEditor.Assets.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.