Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VolmitSoftware/Adapt
/ sleep
Method
sleep
src/main/java/com/volmit/adapt/util/J.java:85–87 ·
view source on GitHub ↗
(long ms)
Source
from the content-addressed store, hash-verified
83
}
84
85
public
static
boolean sleep(long ms) {
86
return
J.attempt(() -> Thread.sleep(ms));
87
}
88
89
public
static
boolean attempt(NastyRunnable r) {
90
return
attemptCatch(r) == null;
Callers
9
openEye
Method · 0.95
close
Method · 0.95
close
Method · 0.95
delete
Method · 0.80
on
Method · 0.80
on
Method · 0.80
execute
Method · 0.80
run
Method · 0.80
run
Method · 0.80
Calls
1
attempt
Method · 0.95
Tested by
no test coverage detected