bulletproof-nodejs icon indicating copy to clipboard operation
bulletproof-nodejs copied to clipboard

Question: I see 'eventemitter3' in the dependancies, and you do not using it anywhere

Open jamil-tlbwork opened this issue 5 years ago • 3 comments

jamil-tlbwork avatar Oct 07 '19 13:10 jamil-tlbwork

Question: I see eventemitter3 in the dependancies, and you do not using it anywhere

jamil-tlbwork avatar Oct 07 '19 13:10 jamil-tlbwork

I wondered the exact same thing. Instead it looks like he is using the native node event dispatcher in https://github.com/santiq/bulletproof-nodejs/blob/master/src/decorators/eventDispatcher.ts

jaschaio avatar Oct 08 '19 04:10 jaschaio

Yep, I'm sorry guys, I ended up using the package event-dispatch instead of eventemitter3 because it has the decorators for Typescript.

But since event-dispatch is now deprecated (see #3 ), I want to change it to eventemitter3

santiq avatar Oct 12 '19 01:10 santiq