Create a native allocator or callback adapter.
createOptionalDelegate native allocation, or omit.
releaseOptionalObserve completed native release.
Invoke Rml::EventInstancer::InstanceEvent with native ownership.
targetLive target element.
idRegistered native event id.
typeNative event type.
parametersTyped native parameters.
interruptibleWhether propagation can stop.
Owned event, or null if declined.
Release this exact instancer's live owned allocation.
eventOwned event; dispatch leases reject.
Native Rml::EventInstancer with checked allocation and release.
Remarks
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.