Forge
csharpdeeb25a2
1#nullable enable
2using CascadeIDE.Models;
3using CascadeIDE.Cockpit.ComputingUnits.EnvironmentReadiness;
4
5namespace CascadeIDE.Cockpit.Channels.EnvironmentReadiness;
6
7/// <summary>
8/// Builds Environment Readiness snapshot payload from app state.
9/// </summary>
10public sealed class EnvironmentReadinessChannel : IEnvironmentReadinessChannel
11{
12 private readonly EnvironmentReadinessSnapshotUnit _snapshotUnit = EnvironmentReadinessSnapshotUnit.Default;
13
14 public ValueTask<IReadOnlyList<AnnunciatorLampItem>> Build(in EnvironmentReadinessChannelContext context) =>
15 new(_snapshotUnit.BuildAsync(context));
16}
17
View only · write via MCP/CIDE