Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Aug 23, 2022
1 parent 7d92d6e commit e6b5ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/main/network/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const sendQueueMap = new Map<string, WebSocketEventLog>();
* When CTS is set, the events are sent immediately.
* If CTS is cleared, the events are batched into the send queue.
*/
function dispatchWebSocketEvent(target: Electron.WebContents, eventChannel: string, wsEvent: WebsocketEvent): void {
function dispatchWebSocketEvent(target: Electron.WebContents, eventChannel: string, wsEvent: WebSocketEvent): void {
// If the CTS flag is already set, just send immediately.
if (clearToSend) {
target.send(eventChannel, [wsEvent]);
Expand Down

0 comments on commit e6b5ac4

Please sign in to comment.