Stone.js API
    Preparing search index...

    A telemetry exporter. Implement this to ship records anywhere (console, OpenTelemetry, a metrics endpoint, an in-memory dashboard feed, …).

    interface TelemetryExporter {
        export: (record: TelemetryRecord) => void | Promise<void>;
        flush?: () => void | Promise<void>;
    }

    Implemented by

    Index
    export: (record: TelemetryRecord) => void | Promise<void>

    Export a single record.

    flush?: () => void | Promise<void>

    Optional flush hook, called on shutdown.