Class LibraryIdleWait
- Namespace
- EncDotNet.S100.Collections.Library
- Assembly
- EncDotNet.S100.Collections.dll
The outcome of AwaitIdleAsync(TimeSpan, CancellationToken).
public sealed record LibraryIdleWait : IEquatable<LibraryIdleWait>
- Inheritance
-
LibraryIdleWait
- Implements
- Inherited Members
Constructors
LibraryIdleWait(LibraryActivitySnapshot, bool, TimeSpan)
The outcome of AwaitIdleAsync(TimeSpan, CancellationToken).
public LibraryIdleWait(LibraryActivitySnapshot Activity, bool TimedOut, TimeSpan Waited)
Parameters
ActivityLibraryActivitySnapshotThe activity when the wait ended.
TimedOutboolTrue when the wait ended before the Library was idle.
WaitedTimeSpanHow long the call waited.
Properties
Activity
The activity when the wait ended.
public LibraryActivitySnapshot Activity { get; init; }
Property Value
TimedOut
True when the wait ended before the Library was idle.
public bool TimedOut { get; init; }
Property Value
Waited
How long the call waited.
public TimeSpan Waited { get; init; }