RenderLifecycle
Reactive mount, state-change, and handler-invocation measurements for the render lifecycle service.
import type { RenderLifecycle } from '@threadplane/render';Declaration
export interface RenderLifecycle {
readonly firstMountAt: Signal<{
kind: 'spec' | 'element';
elementType?: string;
at: number;
} | null>;
readonly lastHandlerInvokedAt: Signal<{
action: string;
at: number;
} | null>;
readonly lastMountAt: Signal<number | null>;
readonly lastStateChangeAt: Signal<number | null>;
readonly mountCount: Signal<number>;
}Members
firstMountAt
First mount event in this render context. Sticky — does not reset.
readonly firstMountAt: Signal<{
kind: 'spec' | 'element';
elementType?: string;
at: number;
} | null>;lastHandlerInvokedAt
Most recent handler invocation.
readonly lastHandlerInvokedAt: Signal<{
action: string;
at: number;
} | null>;lastMountAt
Epoch ms of the most recent mount event.
readonly lastMountAt: Signal<number | null>;lastStateChangeAt
Epoch ms of the most recent state-change event.
readonly lastStateChangeAt: Signal<number | null>;mountCount
Total mount count since render context started.
readonly mountCount: Signal<number>;