tock / ai.tock.bot.engine / BotBus / retrieveCurrentBus

retrieveCurrentBus

fun retrieveCurrentBus(): BotBus? (source)

Helper method to return the current bus, linked to the thread currently used by the handler. (warning: advanced usage only).