public class NoOpEventEmitter extends Object implements EventEmitter
Modifier and Type | Field and Description |
---|---|
static EventEmitter |
INSTANCE |
Constructor and Description |
---|
NoOpEventEmitter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
CompletableFuture<Boolean> |
emit(Event event)
This is called to emit an
Event |
public static final EventEmitter INSTANCE
public CompletableFuture<Boolean> emit(Event event)
EventEmitter
Event
emit
in interface EventEmitter
public void close() throws IOException
close
in interface AutoCloseable
IOException