Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenEndedGroup/Field2
/ yieldIfPossible
Method
yieldIfPossible
src/main/java/field/app/ThreadSync2.kt:317–320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
315
val executor = Executors.newCachedThreadPool()
316
317
@JvmStatic
318
fun yield() {
319
thisFibre.get().yield()
320
}
321
322
@JvmStatic
323
fun yieldIfPossible() {
Callers
1
save
Method · 0.95
Calls
2
get
Method · 0.65
yield
Method · 0.45
Tested by
no test coverage detected