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)
EventEmitterEventemit in interface EventEmitterpublic void close()
throws IOException
close in interface AutoCloseableIOException