RunicBridgeCall interface

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

interface RunicBridgeCall

One settled Bridge call in the dock's timeline.

Properties

id

readonly id: string;

No documentation.

timestamp

readonly timestamp: string;

No documentation.

kind

readonly kind: string;

What the call did: command, set, write, can, region, operation, query, or a later kind.

route

readonly route: string;

No documentation.

viewModel

readonly viewModel: string;

The C# ViewModel's type name, from the View contract: EditorViewModel.

member

readonly member: string;

The member's wire name: save.

duration

readonly duration: number;

From the call to its settled reply, in milliseconds, as the page measured it.

outcome

readonly outcome: RunicBridgeCallOutcome;

No documentation.

reason

readonly reason?: string;

What refines the outcome, such as superseded or domain-failed.

revision

readonly revision?: number;

The reply's revision: the frames with this revision carry the call's effects.

handler

readonly handler?: RunicBridgeCallHandler;

No documentation.

handlerDuration

readonly handlerDuration?: number;

The C# handler's own duration in milliseconds, as .NET measured it, when the reply carried it (a .NET host in Development with handler timing). Absent otherwise.

handlerName

readonly handlerName?: string;

.NET's name for the handler from that reply, such as EditorViewModel.Save, when the map has none.

failure

readonly failure?: RunicDiagnosticFailure;

The .NET exception of a failed call, for local display only; never in /__runic/state.

label

readonly label: string;

command EditorViewModel.save → SaveAsync() 23 ms.