public interface EventEmitter
| Modifier and Type | Method and Description |
|---|---|
void |
emit(String eventName)
Will trigger the event callback if any on the given event.
|
void |
on(String eventName,
Runnable callback)
Register a callback for an event.
|
Copyright © 2019. All rights reserved.