let

@JvmName(name = "letJson")
suspend fun Surreal.let(name: String, value: JsonElement)
inline suspend fun <T> Surreal.let(name: String, value: T)

Let

This method stores a variable on the current connection

Parameters

name

The name of the variable without a prefixed $ character

value

The value for the variable