toggle menu
Simple Robot 组件 | Telegram
0.0.12
jvm
switch theme
search in API
simbot-component-telegram-stdlib
/
love.forte.simbot.telegram.stdlib.event
/
async
async
jvm
@
Api4J
fun
async
(
processor
:
Function
<
Event
,
CompletionStage
<
*
>
>
)
:
EventProcessor
(
source
)
@
Api4J
@
JvmOverloads
fun
<
T
:
Any
>
async
(
contentType
:
Class
<
T
>
,
name
:
String
?
=
null
,
processor
:
BiFunction
<
Event
,
T
,
CompletionStage
<
*
>
>
)
:
EventProcessor
(
source
)
Create an async
EventProcessor
.