Promise
Constructors
<init>
Exposes the JavaScript Promise object to Kotlin.
Promise
(
executor
:
(
resolve
:
(
T
)
->
Unit
,
reject
:
(
Throwable
)
->
Unit
)
->
Unit
)