NodeProgress

data class NodeProgress<out State>(val step: Int, val node: String, val value: Any, val state: State, val item: Int? = null) : GraphEvent<State>

node reported value with reportProgress while it ran in step. The events of a node arrive in the order the node reported them, after its NodeStarted and before its NodeCompleted.

Constructors

Link copied to clipboard
constructor(step: Int, node: String, value: Any, state: State, item: Int? = null)

Properties

Link copied to clipboard
val item: Int?

the position in the list of the item whose work reported value, for a node that runs for each item of a list. null for every other node.

Link copied to clipboard
Link copied to clipboard
open override val state: State

the state the node received.

Link copied to clipboard
val step: Int
Link copied to clipboard
val value: Any

what the node reported. Its type is up to the node: check it with is or as?.