mirai
2.16.0
jvm
mirai-console
/
net.mamoe.mirai.console.plugin.jvm
/
JavaPluginScheduler
/
delayed
delayed
abstract
fun
delayed
(
delayMillis
:
Long
,
runnable
:
Runnable
)
:
CompletableFuture
<
Void
?
>
新增一个 Delayed Task (延迟任务)
在延迟
delayMillis
后执行
runnable
abstract
fun
<
R
>
delayed
(
delayMillis
:
Long
,
callable
:
Callable
<
R
>
)
:
CompletableFuture
<
R
>
新增一个 Delayed Task (延迟任务)
在延迟
delayMillis
后执行
callable