RunicDevelopmentState interface

Module @runic-artifex/vite-plugin-runic in @runic-artifex/vite-plugin-runic 0.23.0

interface RunicDevelopmentState

No documentation.

Properties

contract

readonly contract: Readonly<{
    identity: string;
    version: string;
    fingerprint: string;
}>;

No documentation.

vite

readonly vite: Readonly<{
    command: string;
    mode: string;
    root: string;
}>;

No documentation.

connection

readonly connection: Readonly<{
    state: "connecting" | "connected" | "reconnecting" | "lost" | "closed" | "unknown";
}>;

The page's connection to its .NET host, as @runic-artifex/views reports it (BridgeConnectionState), or unknown until a View connects.

views

readonly views: readonly RunicViewSnapshot[];

The state inspector: each open View's current state, as the development client last reported it, the most recently changed first. Command replies that the producer answered superseded are timeline entries (kind: "command", detail.code: "superseded").

timeline

readonly timeline: readonly RunicTimelineEntry[];

No documentation.

calls

readonly calls: readonly RunicBridgeCall[];

The page's settled Bridge calls, the oldest first, as many as the timeline keeps: each with its duration, its C# handler from the development source map and, from a .NET host that measures it, the handler's own duration.