MCPcopy Create free account
hub / github.com/badvision/jace / whilePaused

Method whilePaused

src/main/java/jace/core/Device.java:202–207  ·  view source on GitHub ↗
(Runnable r)

Source from the content-addressed store, hash-verified

200 }
201
202 public void whilePaused(Runnable r) {
203 whilePaused(()->{
204 r.run();
205 return null;
206 }, null);
207 }
208
209 public <T> T whileSuspended(Supplier<T> r, T defaultValue) {
210 T result;

Callers 1

boot0Method · 0.80

Calls 5

isPausedMethod · 0.95
isRunningMethod · 0.95
setPausedMethod · 0.95
runMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected