MCPcopy Create free account
hub / github.com/VolmitSoftware/Adapt / attemptAsync

Method attemptAsync

src/main/java/com/volmit/adapt/util/J.java:61–63  ·  view source on GitHub ↗
(NastyRunnable r)

Source from the content-addressed store, hash-verified

59 }
60
61 public static void attemptAsync(NastyRunnable r) {
62 J.a(() -> J.attempt(r));
63 }
64
65 public static <R> R attemptResult(NastyFuture<R> r, R onError) {
66 try {

Callers

nothing calls this directly

Calls 2

aMethod · 0.95
attemptMethod · 0.95

Tested by

no test coverage detected