MCPcopy 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

openEyeMethod · 0.95
closeMethod · 0.95
closeMethod · 0.95
deleteMethod · 0.80
onMethod · 0.80
onMethod · 0.80
executeMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1

attemptMethod · 0.95

Tested by

no test coverage detected