@maplibre/native-ffi
    Preparing search index...

    Interface RuntimeEvent

    One delivered runtime event.

    See mln_runtime_event in the C API reference.

    interface RuntimeEvent {
        code: number;
        generation: bigint;
        message: string;
        payload: RuntimeEventPayload;
        source: bigint;
        sourceType: RuntimeEventSourceType;
        type: RuntimeEventType;
    }
    Index
    code: number

    Secondary event detail whose meaning type selects; see mln_runtime_event_type.

    generation: bigint

    Map snapshot generation that the event reports, or zero when source_type is MLN_RUNTIME_EVENT_SOURCE_RUNTIME.

    message: string

    Borrowed UTF-8 message bytes, empty when this event carries no message.

    Typed payload selected by payload_type.

    source: bigint

    Source handle selected by source_type: an mln_runtime or an mln_map.

    One of mln_runtime_event_source_type.

    One of mln_runtime_event_type.