net.minecraft.util.thread

public interface ProcessorHandle<Msg>

extends AutoCloseable

azb
net.minecraft.util.thread.ProcessorHandle
net.minecraft.class_3906
net.minecraft.util.thread.MessageListener
net.minecraft.src.C_450_
net.minecraft.util.thread.Mailbox

Method summary

Modifier and TypeMethod
String
bo()
name()
method_16898()
getName()
m_7326_()
void
a(Msg arg0)
tell(Msg arg0)
method_16901(Msg arg0)
send(Msg message)
m_6937_(Msg arg0)
default void
close()
close()
close()
default <Source> CompletableFuture<Source>
b(Function<? super azb<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)
m_18720_(Function<? super C_450_<Source>, ? extends Msg> arg0)
default <Source> CompletableFuture<Source>
c(Function<? super azb<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)
askFallible(Function<? super MessageListener<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> messageProvider)
m_18722_(Function<? super C_450_<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)
m_18714_(String p_18715_, Consumer<Msg> p_18716_)