Package net.neoforged.neoforge.oldtest
Class DeferredWorkQueueTest
java.lang.Object
net.neoforged.neoforge.oldtest.DeferredWorkQueueTest
Tests that the
DeferredWorkQueue
properly executes enqueued tasks and
forwards any exceptions thrown by those tasks-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
private static String
static void
onCommonSetup
(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event)
-
Field Details
-
MOD_ID
- See Also:
-
ENABLE
private static final boolean ENABLE- See Also:
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
-
Constructor Details
-
DeferredWorkQueueTest
public DeferredWorkQueueTest()
-
-
Method Details
-
onCommonSetup
public static void onCommonSetup(net.neoforged.fml.event.lifecycle.FMLCommonSetupEvent event) -
executeThrowingRunnable
private static void executeThrowingRunnable() -
executeThrowingSupplier
-