Package net.minecraft.util.thread
Interface ProcessorHandle<Msg>
- All Superinterfaces:
 AutoCloseable
- All Known Implementing Classes:
 BlockableEventLoop,DedicatedServer,GameTestServer,IntegratedServer,Minecraft,MinecraftServer,ProcessorMailbox,ReentrantBlockableEventLoop,ServerChunkCache.MainThreadExecutor,SoundEngineExecutor
- 
Method Summary
Modifier and TypeMethodDescriptiondefault <Source> CompletableFuture<Source>ask(Function<? super ProcessorHandle<Source>, ? extends Msg> p_18721_) default <Source> CompletableFuture<Source>askEither(Function<? super ProcessorHandle<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> p_18723_) default voidclose()name()static <Msg> ProcessorHandle<Msg>void 
- 
Method Details
- 
name
String name() - 
tell
 - 
close
default void close()- Specified by:
 closein interfaceAutoCloseable
 - 
ask
default <Source> CompletableFuture<Source> ask(Function<? super ProcessorHandle<Source>, ? extends Msg> p_18721_)  - 
askEither
default <Source> CompletableFuture<Source> askEither(Function<? super ProcessorHandle<com.mojang.datafixers.util.Either<Source, Exception>>, ? extends Msg> p_18723_)  - 
of
 
 -