inExecutableScope
inline fun <T> OneBotApiExecutable.inExecutableScope(action: OneBotApiExecutableScope.() -> T): T(source)
在 OneBotApiExecutableScope 的作用域下执行 action。
executable.inExecutableScope {
api.execute()
}
Content copied to clipboard
Since
1.1.0