net.minecraft.util.thread

public interface ProcessorHandle<Msg>

extends AutoCloseable

aod
net.minecraft.util.thread.ProcessorHandle
net.minecraft.class_3906
net.minecraft.util.thread.MessageListener
net.minecraft.util.concurrent.ITaskExecutor
net.minecraft.server.v1_16_R3.Mailbox

Method summary

Modifier and TypeMethod
String
bj()
name()
method_16898()
getName()
func_213142_bd()
void
a(Msg arg0)
tell(Msg arg0)
method_16901(Msg arg0)
send(Msg message)
func_212871_a_(Msg arg0)
default void
close()
close()
close()
close()
close()
default <Source> CompletableFuture<Source>
b(Function<? super aod<Source>, ? extends Msg> arg0)
ask(Function<? super ProcessorHandle<Source>, ? extends Msg> arg0)
method_17345(Function<? super class_3906<Source>, ? extends Msg> arg0)
ask(Function<? super MessageListener<Source>, ? extends Msg> messageProvider)
func_213141_a(Function<? super ITaskExecutor<Source>, ? extends Msg> arg0)
default <Source> CompletableFuture<Source>
c(Function<? super aod<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> arg0)
askEither(Function<? super ProcessorHandle<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> arg0)
method_27918(Function<? super class_3906<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> arg0)
method_27918(Function<? super MessageListener<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> arg0)
func_233528_c_(Function<? super ITaskExecutor<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> arg0)
static <Msg> ProcessorHandle<Msg>
a(String arg0, Consumer<Msg> arg1)
of(String arg0, Consumer<Msg> arg1)
method_17344(String arg0, Consumer<Msg> arg1)
create(String name, Consumer<Msg> action)
func_213140_a(String arg0, Consumer<Msg> arg1)