Context

data class Context(val data: Map<String, Value> = mapOf(), val outputs: List<Output> = listOf()) : IContext

Context class

Parameters

data

Variables in current memory

outputs

Outputs list

Constructors

Link copied to clipboard
constructor(data: Map<String, Value> = mapOf(), outputs: List<Output> = listOf())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun execute(action: Action): Context

Execute an action in this context

fun execute(actions: List<Action>): Context

Execute a list of actions in this context