toggle menu
lib
0.0.266
jvm
switch theme
search in API
lib
/
com.prettybyte.klerk
/
Klerk
Klerk
interface
Klerk
<
C
:
KlerkContext
,
D
>
Members
Types
Companion
Link copied to clipboard
object
Companion
Properties
config
Link copied to clipboard
abstract
val
config
:
Config
<
C
,
D
>
events
Link copied to clipboard
abstract
val
events
:
EventsManager
<
C
,
D
>
jobs
Link copied to clipboard
abstract
val
jobs
:
JobManager
<
C
,
D
>
log
Link copied to clipboard
abstract
val
log
:
KlerkLog
meta
Link copied to clipboard
abstract
val
meta
:
KlerkMeta
models
Link copied to clipboard
abstract
val
models
:
KlerkModels
<
C
,
D
>
Functions
handle
Link copied to clipboard
abstract
suspend
fun
<
T
:
Any
,
P
>
handle
(
command
:
Command
<
T
,
P
>
,
context
:
C
,
options
:
ProcessingOptions
)
:
CommandResult
<
T
,
C
,
D
>
Submits a single event for processing.
read
Link copied to clipboard
abstract
suspend
fun
<
T
>
read
(
context
:
C
,
readFunction
:
Reader
<
C
,
D
>
.
(
)
->
T
)
:
T
Read stuff
read
Suspend
Link copied to clipboard
abstract
suspend
fun
<
T
>
readSuspend
(
context
:
C
,
readFunction
:
suspend
Reader
<
C
,
D
>
.
(
)
->
T
)
:
T
Read stuff