tock / ai.tock.bot.engine / BotBus / getBusContextValue

getBusContextValue

abstract fun <T> getBusContextValue(name: String): T? (source)
open fun <T> getBusContextValue(key: ParameterKey): T? (source)

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