Skip to main content

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

ParameterTypeDescription
eniblockEniblock
userIdstring
addressstring(Optional)