apiRTC
apiRTC
/
com.apizee.apiRTC
/
Promise
Promise
class
Promise
Content copied to clipboard
Types
Constructors
Functions
Constructors
Promise
Link copied to clipboard
fun
Promise
(
executor
:
(
resolve
:
(
Any
)
->
Unit
,
reject
:
(
Any
)
->
Unit
)
->
Unit
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
catch
Link copied to clipboard
fun
catch
(
onRejected
:
(
reason
:
Any
)
->
Any
=
{ it }
)
:
Promise
Content copied to clipboard
then
Link copied to clipboard
fun
then
(
onFulfilled
:
(
value
:
Any
)
->
Any
=
{ it }
)
:
Promise
Content copied to clipboard
fun
then
(
onFulfilled
:
(
value
:
Any
)
->
Any
,
onRejected
:
(
reason
:
Any
)
->
Any
)
:
Promise
Content copied to clipboard