tock / ai.tock.bot.engine / BotBus / setBusContextValue

setBusContextValue

abstract fun setBusContextValue(key: String, value: Any?): Unit (source)
open fun setBusContextValue(key: ParameterKey, value: Any?): Unit (source)

Updates the non persistent current context value. Bus context values are useful to store a temporary (ie request scoped) state.