<PackageReference Include="ReactiveUI.Primitives.Core" Version="7.3.0" />

ReactiveUI.Primitives.Extensions.Stale<T>

public struct Stale<T> : IStale<T>, IEquatable<Stale<T>>
Represents either a staleness indicator or a value update from an observable stream. Value-type shape; the stale-detection operator emits these directly so per-emission allocations are zero. Note that default(Stale<T>) represents a value update with the default T; use new Stale<T>() to construct a staleness signal.
public bool IsStale { get; }

public T Update { get; }

public Stale()

Initializes a new instance of the Stale<T> struct representing a stale signal.

public Stale(T update)

Initializes a new instance of the Stale<T> struct representing a value update.

public static bool op_Equality(Stale<T> left, Stale<T> right)

public static bool op_Inequality(Stale<T> left, Stale<T> right)

public bool Equals(Stale<T> other)