mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-07-16 19:26:28 +00:00
12 lines
462 B
C#
12 lines
462 B
C#
|
|
namespace AIStudio.Tools.Rust;
|
||
|
|
|
||
|
|
/// <summary>Snapshot emitted by the Rust media job event stream.</summary>
|
||
|
|
/// <param name="Phase">Current job phase.</param>
|
||
|
|
/// <param name="Progress">Optional progress fraction.</param>
|
||
|
|
/// <param name="Result">Completed result.</param>
|
||
|
|
/// <param name="Error">Failure diagnostic.</param>
|
||
|
|
public sealed record MediaJobEvent(
|
||
|
|
MediaJobPhase Phase,
|
||
|
|
double? Progress,
|
||
|
|
MediaJobResult? Result,
|
||
|
|
MediaJobError? Error);
|