SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-lang-models
/
sk.ainet.lang.model
/
Model
/
calculate
calculate
abstract
suspend
fun
calculate
(
module
:
Module
<
T
,
V
>
,
inputValue
:
I
,
executionContext
:
ExecutionContext
,
reportProgress
:
suspend
(
current
:
Int
,
total
:
Int
,
message
:
String
?
)
->
Unit
)
:
O
(
source
)
Implement this in your models. Call
reportProgress
whenever you want to emit a progress update.