Code/SboxSuperuser/Core/Commands/QueuedResult.cs

A small internal record type in the command system that pairs a QueueAdmission value with a Task<T> result. It is used to represent a queued command admission and its asynchronous result.

namespace SboxSuperuser.Core.Commands;

internal sealed record QueuedResult<T>( QueueAdmission Admission, Task<T> Result );