Skip to content

Commit 6567dd7

Browse files
committed
feat: for testing async response and broadcast
1 parent a94a615 commit 6567dd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

electron/main/ipc/ipc.controller.ts

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export class IpcController {
7979
}
8080

8181
private pingHandler: IpcInvokeHandler<'ping'> = async (): Promise<string> => {
82+
this.dispatch('pong', 'pong');
8283
return 'pong';
8384
};
8485

0 commit comments

Comments
 (0)