temit > Listener > (constructor)
Listener.(constructor)
Constructs a new instance of the Listener
class
Signature:
constructor(temit: TemitClient, event: string, group: string, opts: ListenerOptions | undefined, handler: ListenerHandler<Arg>);
Parameters
Parameter | Type | Description |
---|---|---|
temit | TemitClient | |
event | string | |
group | string | |
opts | ListenerOptions | undefined | |
handler | ListenerHandler<Arg> |