Prometheus Entity Management API
    Preparing search index...

    Type Alias FragmentRenderer<T>

    FragmentRenderer: (
        ctx: FragmentRenderContext<T>,
    ) => string | null | Promise<string | null>

    A function that turns an entity snapshot into an HTML string. The output is wrapped in the SSE envelope and pushed to subscribed clients.

    Return null to suppress the SSE event (e.g. when an ACL check fails).

    Type Parameters

    • T extends Record<string, unknown> = Record<string, unknown>

    Type Declaration