StatefulResultHandler

abstract class StatefulResultHandler<Input, State, Output, Verdict>(initialState: State) : ResultHandler<Input, Output, Verdict>

A specialized result handler that has some form of state.

Constructors

Link copied to clipboard
fun <State> StatefulResultHandler(initialState: State)

Functions

Link copied to clipboard
abstract suspend fun onResult(result: Output, data: Input): Verdict

Properties

Link copied to clipboard
val state: State

The state of the result handler. This can be read, but not updated by analyzers.

Inheritors

Link copied to clipboard
Link copied to clipboard