net.minecraft.util.thread

public interface TaskExecutor<R extends Runnable>

extends AutoCloseable

net.minecraft.util.thread.TaskScheduler
net.minecraft.class_10178
net.minecraft.util.thread.TaskExecutor

Method summary

Modifier and TypeMethod
String
name()
method_16898()
getName()
void
schedule(R r)
method_63588(R arg0)
send(R runnable)
default void
close()
R
wrapRunnable(Runnable runnable)
method_16211(Runnable arg0)
createTask(Runnable runnable)
default <Source> CompletableFuture<Source>
scheduleWithResult(Consumer<CompletableFuture<Source>> futureConsumer)
method_63603(Consumer<CompletableFuture<Source>> arg0)
executeAsync(Consumer<CompletableFuture<Source>> future)
static TaskExecutor<Runnable>
wrapExecutor(String name, Executor executor)
method_63602(String arg0, Executor arg1)
of(String name, Executor executor)
private static void
lambda$scheduleWithResult$0(Consumer arg0, CompletableFuture arg1)
method_63604(Consumer arg0, CompletableFuture arg1)
method_63604(Consumer arg0, CompletableFuture arg1)