Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/traneio/future
/ runSync
Method
runSync
future-java/src/main/java/io/trane/future/Tailrec.java:73–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
71
private
boolean running = false;
72
73
private
final
boolean runSync() {
74
return
syncPermits-- > 0;
75
}
76
77
private
final
void
submit(
final
Runnable r,
final
int
batchSize) {
78
syncPermits = batchSize;
Callers
1
apply
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected