Top "Eventemitter" questions

An event emitter is a platform for triggering and listening for events.

How do you share an EventEmitter in node.js?

I want to emit events from one file/module/script and listen to them in another file/module/script. How …

javascript node.js eventemitter
Angular component: Can I use an Observable instead EventEmitter as @Output() property?

[angular 2.4.5] I tried and it seems to work like an EventEmitter: My component from outside: <split (visibleTransitionEnd)="log($event)"&…

angular rxjs eventemitter
NodeJS wait for callback to finish on event emit

I have and application written in NodeJS with Express and am attempting to use EventEmitter to create a kind of …

events node.js express eventemitter
Angular 5 EventEmitter Not working well

I am trying to call Parent Component function on Child Component, and implemented like this. project-form.component.ts @Component({ selector: …

angular typescript components eventemitter
Angular: invoking a function in one component, with events on another component

Working with Angular6, let's say I have 2 child components A, B that are both part of parent component P. I …

angular eventemitter angular-event-emitter
How to emit an object with its value

I have an EventEmitter and i am emitting an object as below: @Output() cellClick = new EventEmitter(); private _cellClicked(data: any){ …

angular typescript eventemitter
Nodejs: use eventEmitter object globally

Lets say I have 3 exposed functions: user, posts, articles all of which needs to emit messages to a file called …

node.js eventemitter
Using async in event emitter

I am being challenged trying to make an async call inside an event. Here's the code from Nodemailer - I've …

node.js asynchronous eventemitter
React Hooks useState+useEffect+event gives stale state

I'm trying to use an event emitter with React useEffect and useState, but it always gets the initial state instead …

javascript reactjs codemirror eventemitter react-hooks
How to Listen for Events in children components in React Native?

I want to implement an event listener from parents to children components in my React Native app, I'm using a …

reactjs react-native react-navigation dom-events eventemitter