I know how to send message or call function from angular app to electron main thread using ipc.
Bu I case I have some thread run in electron main thread like videos processing, and after some file complete process, electron require to send message and parameter for update angular GUI.
How can electron main thread (main.ts) call or invoke angular EventEmitter to send some data back to angular application.