toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot.ability
/
CompletionPerceivable
Completion
Perceivable
interface
CompletionPerceivable
<
T
>
(
source
)
可以感知到某个目标的完成。
是一个功能性接口。
Author
ForteScarlet
Inheritors
ApplicationBuilder
Members
Functions
on
Completion
Link copied to clipboard
@
Api4J
open
fun
onCompletion
(
handle
:
Consumer
<
in
T
>
)
abstract
fun
onCompletion
(
handle
:
suspend
(
application
:
T
)
->
Unit
)
当目标完成时执行注册的回调函数。