Notification_2.(constructor)
Handle the await/async in the constructor with probably a static async function containing the this.notify() call. But, care about the EventEmitter extends.
Signature:
constructor(eniblock: Eniblock, userId: string, address?: string);
Parameters
Parameter | Type | Description |
---|---|---|
eniblock | Eniblock | |
userId | string | |
address | string | (Optional) |