toggle menu
Simple Robot
4.8.0
jvm
switch theme
search in API
simbot-common-suspend-runner
/
love.forte.simbot.suspendrunner
/
setRunInNoScopeBlockingStrategy
set
Run
In
No
Scope
Blocking
Strategy
jvm
@
ExperimentalSimbotAPI
fun
setRunInNoScopeBlockingStrategy
(
strategy
:
RunInNoScopeBlockingStrategy
)
(
source
)
设置一个
runInNoScopeBlocking
函数的实际调度逻辑。
默认情况下
runInNoScopeBlocking
的策略为在当前线程上阻塞并等待。