Synced
IGameContentCompiler.CompileAsync
Section titled “IGameContentCompiler.CompileAsync”
- Writes target content into the current operation’s isolated staging directory.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Build
Declaration
Section titled “Declaration”System.Threading.Tasks.ValueTask Inno.Build.IGameContentCompiler.CompileAsync(Inno.Build.GameBuildContentContext context, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))Parameters
Section titled “Parameters”Parameter context: The borrowed authoring generation and operation-owned content destination.
Parameter cancellationToken: Cancels compilation before publication; associated work must finish before returning.
Returns
Section titled “Returns”An operation completing after every required artifact is staged, or faulting on failure.
Exceptions
Section titled “Exceptions”Exception T:System.OperationCanceledException: Cancellation was requested before compilation completed.