convertWithRomajiBlocking

fun convertWithRomajiBlocking(message: String, converter: RomanjiConverter, timeoutMs: Long = 1000): String(source)

Blocking form of convertWithRomaji, for callers that cannot suspend.

AsyncChatEvent is the only such caller: it has to decide whether to cancel the event and what body to set before the handler returns, and it already runs off the tick thread. Command handlers do run on the tick thread and must use the suspending form instead.