FlippingExecutionContextBuilder

A DSL builder for constructing FlippingExecutionContext instances.

Provides a type-safe, expressive way to define context parameters using Kotlin DSL syntax.

Example usage:

val ctx = context {
ContextKeys.USER_ID to "user-123"
ContextKeys.REGION to "EU"
this["tier"] = "premium"
}

See also

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Builds and returns the FlippingExecutionContext with all configured parameters.

Link copied to clipboard
fun putAll(vararg pairs: Pair<String, Any>)

Adds all given key-value pairs to the context.

fun putAll(map: Map<String, Any>)

Adds all entries from the given map to the context.

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

Adds a key-value pair to the context using indexed access notation.

Link copied to clipboard
infix fun String.to(value: Any)

Adds a key-value pair to the context using infix notation.