net.minecraft.util.thread

public interface TaskScheduler<R extends Runnable>

extends AutoCloseable

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

Method summary

Modifier and TypeMethod
String
A_()
name()
method_16898()
getName()
void
a_(R arg0)
schedule(R arg0)
method_63588(R arg0)
send(R runnable)
default void
close()
close()
R
f(Runnable arg0)
wrapRunnable(Runnable arg0)
method_16211(Runnable arg0)
createTask(Runnable runnable)
default <Source> CompletableFuture<Source>
a(Consumer<CompletableFuture<Source>> arg0)
scheduleWithResult(Consumer<CompletableFuture<Source>> arg0)
method_63603(Consumer<CompletableFuture<Source>> arg0)
executeAsync(Consumer<CompletableFuture<Source>> future)
static TaskScheduler<Runnable>
a(String arg0, Executor arg1)
wrapExecutor(String arg0, Executor arg1)
method_63602(String arg0, Executor arg1)
of(String name, Executor executor)