Externs for the promise table FiveM injects alongside Citizen.

Used together with Citizen.await to bridge callback-style APIs into blocking calls. fivem.shared.core.Deferred wraps this with type safety; prefer that unless you specifically need the raw handle to hand to a third-party resource.

Static methods

@:native("new")staticcreate():Dynamic

Creates a fresh, unsettled promise.