W3cubDocs

/Haxe JavaScript

PromiseHandler<T, TOut>(T ‑> Dynamic)

package js.lib

from T ‑> Promise<TOut>, T ‑> Thenable<TOut>, T ‑> TOut

import js.lib.Promise

Available on js

Handler type for the Promise object.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/PromiseHandler.html