hexagon
2.6.6
jvm
handlers
/
com.hexagonkt.handlers
/
Context
Context
interface
Context
<
T
:
Any
>
Context for an event.
Parameters
T
Event type.
Members
Functions
next
Link copied to clipboard
open
fun
next
(
)
:
Context
<
T
>
with
Link copied to clipboard
abstract
fun
with
(
event
:
T
=
this.event
,
predicate
:
(
Context
<
T
>
)
->
Boolean
=
this.predicate
,
nextHandlers
:
List
<
Handler
<
T
>
>
=
this.nextHandlers
,
nextHandler
:
Int
=
this.nextHandler
,
exception
:
Exception
?
=
this.exception
,
attributes
:
Map
<
*
,
*
>
=
this.attributes
)
:
Context
<
T
>
Properties
attributes
Link copied to clipboard
abstract
val
attributes
:
Map
<
*
,
*
>
event
Link copied to clipboard
abstract
val
event
:
T
exception
Link copied to clipboard
abstract
val
exception
:
Exception
?
next
Handler
Link copied to clipboard
abstract
val
nextHandler
:
Int
next
Handlers
Link copied to clipboard
abstract
val
nextHandlers
:
List
<
Handler
<
T
>
>
predicate
Link copied to clipboard
abstract
val
predicate
:
(
Context
<
T
>
)
->
Boolean