//clika-runtime/io.clika.runtime/StateFactory
StateFactory
[common]
fun interface StateFactory
A model's per-session state factory: any object, or null for no state. It runs with the session's stream as the thread's placement. A state that is AutoCloseable is closed when the engine releases the session; one that implements BatchableState is read by the batcher.
Functions
| Name | Summary |
|---|---|
| run | [common] abstract fun run(): Any? |