API reference
Preparing search index…

Native Rml::EventInstancer with checked allocation and release.

Omit create for native construction. Custom callbacks return another instancer's owned event; ownership transfers and the returned source handle expires. Factory registration intercepts real native dispatch. Registered adapters survive replacement until shutdown. Release notifications execute after native deletion at a safe boundary; environment cleanup invokes no JS. Owned events reject operations if target, current or parameter elements die. Snapshot fields remain readable after release, as with callback events.

Source & inheritance
Member directory3

Constructors

Methods

Constructors

Methods

  • Invoke Rml::EventInstancer::InstanceEvent with native ownership.

    Parameters

    target

    Live target element.

    id
    number

    Registered native event id.

    type
    string

    Native event type.

    parameters
    Readonly<Record<string, VariantValue>>

    Typed native parameters.

    interruptible
    boolean

    Whether propagation can stop.

    Returns

    null | RmlEvent

    Owned event, or null if declined.

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0