Hls.emit() method
Signature:
emit<E extends keyof HlsListeners>(event: E, name: E, eventObject: Parameters<HlsListeners[E]>[1]): boolean;
Parameters
Parameter |
Type |
Description |
---|---|---|
event |
E | |
name |
E | |
eventObject |
Parameters<HlsListeners[E]>[1] |
boolean