toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-node
/
node.childProcess
/
PromiseWithChild
Promise
With
Child
sealed
external
interface
PromiseWithChild
<
T
>
:
Promise
<
T
>
(
source
)
Members
Properties
child
Link copied to clipboard
abstract
var
child
:
ChildProcess
Functions
await
Link copied to clipboard
open
inline suspend override
fun
await
(
)
:
T
finally
Link copied to clipboard
fun
finally
(
onFinally
:
(
)
->
Unit
)
:
Promise
<
T
>
flat
Then
Link copied to clipboard
override
fun
<
R
>
flatThen
(
onFulfilled
:
(
T
)
->
PromiseResult
<
R
>
)
:
Promise
<
R
>
override
fun
<
R
>
flatThen
(
onFulfilled
:
(
T
)
->
PromiseResult
<
R
>
,
onRejected
:
(
JsError
)
->
PromiseResult
<
R
>
)
:
Promise
<
R
>
then
Link copied to clipboard
override
fun
<
R
>
then
(
onFulfilled
:
(
T
)
->
R
)
:
Promise
<
R
>
override
fun
<
R
>
then
(
onFulfilled
:
(
T
)
->
R
,
onRejected
:
(
JsError
)
->
R
)
:
Promise
<
R
>
then
To
Link copied to clipboard
open
inline
fun
thenTo
(
continuation
:
Continuation
<
T
>
)