Skip to content

Commit

Permalink
feat: for testing async response and broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
KatoakDR committed Jan 21, 2024
1 parent a94a615 commit 6567dd7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions electron/main/ipc/ipc.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export class IpcController {
}

private pingHandler: IpcInvokeHandler<'ping'> = async (): Promise<string> => {
this.dispatch('pong', 'pong');
return 'pong';
};

Expand Down

0 comments on commit 6567dd7

Please sign in to comment.