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

ReactiveUI.Primitives.Extensions.Heartbeat<T>

public struct Heartbeat<T> : IHeartbeat<T>, IEquatable<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.
public bool IsHeartbeat { get; }

public T Update { get; }

public Heartbeat()

Initializes a new instance of the Heartbeat<T> struct representing a heartbeat tick.

public Heartbeat(T update)

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

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

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

public bool Equals(Heartbeat<T> other)