toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-api
/
love.forte.simbot.event
/
BlockingContinuousSessionEventMatcher
Blocking
Continuous
Session
Event
Matcher
@
Api4J
fun
interface
BlockingContinuousSessionEventMatcher
<
in
E
:
Event
>
(
source
)
使用于
ContinuousSessionContext.waitingForNext
中的事件匹配器。
提供一个
Event
来判断其是否符合条件。
Inheritors
AlwaysTrue
Members
Types
Always
True
Link copied to clipboard
object
AlwaysTrue
:
BlockingContinuousSessionEventMatcher
<
Event
>
Functions
invoke
Link copied to clipboard
abstract
operator
fun
EventProcessingContext
.
invoke
(
event
:
E
)
:
Boolean
根据条件判断结果。