classpublicPriority 3
AsyncEventBusRegistry
com.hypixel.hytale.event.AsyncEventBusRegistry
extends EventBusRegistry.EventConsumer
10
Methods
10
Public Methods
0
Fields
1
Constructors
Constants
IEventDispatcherNO_OP= <complex>
Constructors
public
AsyncEventBusRegistry(HytaleLogger logger, Class<EventType> eventClass)Methods
Public Methods (10)
public
CompletableFuture<IAsyncEvent> dispatch(IAsyncEvent event)@Nonnull
public
CompletableFuture<EventType> dispatch(EventType event)@Nonnull
public
IEventDispatcher<EventType, CompletableFuture<EventType>> dispatchFor(KeyType key)@Nonnull@Override
public
Function<CompletableFuture<EventType>, CompletableFuture<EventType>> getFunction()@Nonnull
public
Function<CompletableFuture<EventType>, CompletableFuture<EventType>> getTimedFunction()@Nonnull
public
boolean hasListener()@Override
public
EventRegistration<KeyType, EventType> register(short priority, KeyType key, Consumer<EventType> consumer)@Nonnull@Override
public
EventRegistration<KeyType, EventType> registerGlobal(short priority, Consumer<EventType> consumer)@Nonnull@Override
public
EventRegistration<KeyType, EventType> registerUnhandled(short priority, Consumer<EventType> consumer)@Nonnull@Override
public
String toString()@Nonnull@Override
Related Classes
Used By