ReactiveUI.Primitives.Extensions.Heartbeat<T>
Represents either a heartbeat signal or a value update from an observable stream. Value-type shape; the
heartbeat operator emits these directly so per-emission allocations are zero. Note that
default(Heartbeat<T>) represents a value update with the default T; use
new Heartbeat<T>() to construct a heartbeat tick.
namespace ReactiveUI.Primitives.Extensions
{
public readonly struct Heartbeat<[Nullable(2)] T> : IHeartbeat<T>, IEquatable<Heartbeat<T>>
{
public bool IsHeartbeat { get; }
public T Update { get; }
public Heartbeat();
public Heartbeat(T update);
public static bool operator !=(Heartbeat<T> left, Heartbeat<T> right);
public static bool operator ==(Heartbeat<T> left, Heartbeat<T> right);
public bool Equals(Heartbeat<T> other);
}
}