MCPcopy 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

saveMethod · 0.95

Calls 2

getMethod · 0.65
yieldMethod · 0.45

Tested by

no test coverage detected