RunicOperationStreamPage class

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed class RunicOperationStreamPage

A page of a streamed operation's items, read with RunicTestOperation.ReadStream.

Properties

Completed

public bool Completed { get; }

Whether the stream ended, so later pages add no items.

Cursor

public long Cursor { get; }

The cursor to read the next page with; the requested cursor when the page has no stream.

DeliveryKind

public string? DeliveryKind { get; }

Why items were dropped, such as stream-overflow or stream-retention-too-large; null when none were. The kinds are an open set.

DeliveryMessage

public string? DeliveryMessage { get; }

The message that goes with RunicOperationStreamPage.DeliveryKind.

Items

public IReadOnlyList<JsonElement> Items { get; }

The encoded items after the requested cursor, in the order the command produced them.

Json

public string Json { get; }

The page as .NET serialized it.

Kind

public RunicOperationStatusKind Kind { get; }

The operation's status: RunicOperationStatusKind.Unknown or RunicOperationStatusKind.Expired when the window no longer has it.

Methods

ToString

public override string ToString()

Inherits documentation from Object.ToString.