Simple Robot
Toggle table of contents
4.12.0
js
wasmJs
Platform filter
js
wasmJs
Switch theme
Search in API
Simple Robot
simbot-common-core
/
love.forte.simbot.common.async
/
Async
/
asPromise
as
Promise
js
wasmJs
fun
asPromise
(
)
:
Promise
<
T
>
(
source
)
将
Async
对象转换为
Promise
。
Return
表示同一异步操作的
Promise
对象
See also
as
Promise
fun
asPromise
(
)
:
Promise
<
JsAny
?
>
(
source
)
将
Async
对象转换为
Promise
。
Return
表示同一异步操作的
Promise
对象
See also
as
Promise