MCPcopy Create free account
hub / github.com/Card-Forge/forge / delay

Method delay

forge-core/src/main/java/forge/util/ThreadUtil.java:41–43  ·  view source on GitHub ↗
(int milliseconds, Runnable inputUpdater)

Source from the content-addressed store, hash-verified

39 }
40
41 public static ScheduledFuture<?> delay(int milliseconds, Runnable inputUpdater) {
42 return getScheduledPool().schedule(inputUpdater, milliseconds, TimeUnit.MILLISECONDS);
43 }
44
45 public static boolean isGameThread() {
46 return Thread.currentThread().getName().startsWith("Game");

Callers 6

delayInEDTMethod · 0.95
showMessageInitialMethod · 0.95
saveWindowLayoutMethod · 0.95
saveLayoutMethod · 0.95
addNotificationMethod · 0.80
generateMarqueeActionMethod · 0.80

Calls 1

getScheduledPoolMethod · 0.95

Tested by

no test coverage detected