toggle menu
Simple Robot
3.3.0
jvm
switch theme
search in API
simbot-core
/
love.forte.simbot.core.event
/
SimpleFunctionalEventInterceptor
Simple
Functional
Event
Interceptor
sealed
class
SimpleFunctionalEventInterceptor
<
C
:
EventInterceptor.Context
<
R
>
,
R
>
:
Interceptor
<
C
,
R
>
(
source
)
核心提供的事件拦截器实现, 基于函数提供外部事件逻辑。
See also
Simple
Functional
Event
Processing
Interceptor
Inheritors
SimpleFunctionalEventProcessingInterceptor
SimpleFunctionalEventListenerInterceptor
Members
Constructors
Simple
Functional
Event
Interceptor
Link copied to clipboard
protected
constructor
(
)
Properties
intercept
Function
Link copied to clipboard
abstract
val
interceptFunction
:
suspend
(
C
)
->
R
Functions
intercept
Link copied to clipboard
open
suspend override
fun
intercept
(
context
:
C
)
:
R