temit > Emitter > (constructor)
Emitter.(constructor)
Constructs a new instance of the Emitter class
Signature:
constructor(temit: TemitClient, event: string, opts?: EmitterOptions);
Parameters
| Parameter | Type | Description |
|---|---|---|
| temit | TemitClient | |
| event | string | |
| opts | EmitterOptions |