Skip to content
ConsoleMonster
Class

PromptSegmentReading

ConsoleMonster.Prompts

Namespace
ConsoleMonster.Prompts
Assembly
ConsoleMonster
Modifiers
sealed

A segment's last observation and probe diagnostics.

Inheritance

  • object
  • PromptSegmentReading

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Properties

public string Name { get; } #

The provider's name.

public PromptSegmentValue? Value { get; } #

The last available value.

public TimeSpan Duration { get; } #

The most recent evaluation duration.

public TimeSpan? Age { get; } #

Time since the last successful observation, if any.

public bool IsStale { get; } #

Whether no fresh answer is available: the refresh failed or missed its budget, or the value expired with no refresh in flight.