toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-web
/
web.assembly
/
instantiateAsync
instantiate
Async
external
fun
instantiateAsync
(
bytes
:
BufferSource
,
importObject
:
Imports
=
definedExternally
)
:
Promise
<
WebAssemblyInstantiatedSource
>
(
source
)
external
fun
instantiateAsync
(
moduleObject
:
Module
,
importObject
:
Imports
=
definedExternally
)
:
Promise
<
Instance
>
(
source
)