CodeExecution

@Serializable(with = CodeExecutionSerializer::class)
class CodeExecution(val code: Code)

Code snippet ready to be evaluated with kernel REPL

Constructors

Link copied to clipboard
constructor(code: Code)

Create code execution with the given code

Properties

Link copied to clipboard
val code: Code

Snippet text

Functions

Link copied to clipboard
fun toExecutionCallback(mapping: Map<String, String> = emptyMap()): ExecutionCallback<Any?>