toggle menu
Simple Robot
4.8.0
js
switch theme
search in API
simbot-common-suspend-runner
/
love.forte.simbot.suspendrunner.reserve
/
promise
promise
js
fun
<
T
>
promise
(
)
:
SuspendReserve.Transformer
<
T
,
Promise
<
T
>
>
(
source
)
fun
<
T
>
SuspendReserve
<
T
>
.
promise
(
)
:
Promise
<
T
>
(
source
)
得到一个将结果转化为
Promise
的异步执行转化器。