Emitter class
Signature:
export declare class Emitter<Arg> extends CallableInstance<unknown extends Arg ? [unknown?] : [Arg], Promise<void>>
Extends: CallableInstance<unknown extends Arg ? [unknown?] : [Arg], Promise<void>>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(temit, event, opts) | Constructs a new instance of the Emitter class |
Methods
Method | Modifiers | Description |
---|---|---|
send(arg, options) |