variable / @typed/template/RenderEvent

RenderEventTypeId

The global discriminant key shared by DOM and HTML render events.

Package version
1.0.0-beta.13
Category
Renderer output protocol
Since
1.0.0

Import

import { RenderEventTypeId } from "@typed/template/RenderEvent";

Signatures

export declare const RenderEventTypeId: unique symbol;
export type RenderEventTypeId = typeof RenderEventTypeId;

Why

One nominal key supports cross-module guards without a component protocol.

Ownership and lifetime

The symbol is process-global metadata and owns no rendered output.

Examples

import { RenderEventTypeId } from "@typed/template/RenderEvent"

const key = RenderEventTypeId
import { RenderEventTypeId, type RenderEventTypeId as Id } from "@typed/template/RenderEvent"

const id: Id = RenderEventTypeId

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source