variable / @typed/template

RenderQueueTypeId

The nominal key implemented by every Typed render queue.

Package version
1.0.0-beta.7
Category
Scheduling protocol
Since
1.0.0

Import

import { RenderQueueTypeId } from "@typed/template";

Signatures

export declare const RenderQueueTypeId = "@typed/template/RenderQueue";
export type RenderQueueTypeId = typeof RenderQueueTypeId;

Why

Renderer extensions can identify the scheduling contract without depending on one concrete browser scheduler.

Ownership and lifetime

The string is immutable metadata and owns no scheduled work.

Examples

import { RenderQueueTypeId } from "@typed/template/RenderQueue"

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

const id: Id = RenderQueueTypeId

Other public imports

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

Source