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

    Interface RuntimeEvent

    An event that a runtime or one of its maps raised.

    See mln_runtime_event in the C API reference.

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

    For a map event, a map snapshot with this generation or a later one includes what the event reports. Zero for a runtime event.

    message: string

    The error's text for an event that reports a failure, or empty.

    source: bigint

    The runtime or map that raised the event, as source_type says.