mirror of
https://github.com/bitwarden/jslib
synced 2025-12-15 15:53:51 +00:00
Refactor electronRendererMessaging
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ipcRenderer } from "electron";
|
||||
|
||||
import { BroadcasterService } from "jslib-common/abstractions/broadcaster.service";
|
||||
import { MessagingService } from "jslib-common/abstractions/messaging.service";
|
||||
|
||||
@Injectable()
|
||||
export class ElectronRendererMessagingService implements MessagingService {
|
||||
constructor(private broadcasterService: BroadcasterService) {
|
||||
ipcRenderer.on("messagingService", async (event: any, message: any) => {
|
||||
|
||||
Reference in New Issue
Block a user