Table of Contents

Interface IHeartbeatStatus

Namespace
Quilt4Net.Toolkit.Features.HeartbeatReporting
Assembly
Quilt4Net.Toolkit.dll

What this instance's heartbeat reporting is doing (#144), for a status page: what it reports, when it last sent, and what Quilt4Net answered. Registered by AddQuilt4NetHeartbeatReporting, also when reporting is switched off, so a page can say so.

public interface IHeartbeatStatus

Properties

Current

The state after the latest heartbeat.

HeartbeatState Current { get; }

Property Value

HeartbeatState

Methods

SendNowAsync(CancellationToken)

Sends a heartbeat now, outside the interval. False when reporting is off or Quilt4Net did not accept it.

Task<bool> SendNowAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<bool>