FlowContextProperties

Context properties of a Flow are key value pairs of Strings. They are comprised of two sets of properties, those set by the platform when a Flow is started, and those which are added by the CorDapp developer during the execution of their flow. The latter set are referred to as user context properties. All context properties are immutable once set.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract operator fun get(key: String): String?

Gets a value from the context property store. Also opens up [] operator access for getting values in Kotlin.

Link copied to clipboard
abstract fun put(key: String, value: String)

Puts a user value into the context property store.

Extensions

Link copied to clipboard
operator fun FlowContextProperties.set(key: String, value: String)

Puts a user value into the context property store.