W3cubDocs

/Haxe JavaScript

ThenableStruct<T>

package js.lib

import js.lib.Promise

Available on js

Fields

then<TOut>(onFulfilled:Null<PromiseHandler<T, TOut>>, ?onRejected:PromiseHandler<Dynamic, TOut>):Thenable<TOut>

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