Skip to content

Commit

Permalink
docs: fixed a typo "syntetic" for terminated close event documenation (
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedosama94 authored May 1, 2024
1 parent 024e2ce commit 63881c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export interface Client extends Disposable {
* Terminates the WebSocket abruptly and immediately.
*
* A close event `4499: Terminated` is issued to the current WebSocket and a
* syntetic {@link TerminatedCloseEvent} is immediately emitted without waiting for
* synthetic {@link TerminatedCloseEvent} is immediately emitted without waiting for
* the one coming from `WebSocket.onclose`.
*
* Terminating is not considered fatal and a connection retry will occur as expected.
Expand Down Expand Up @@ -1062,7 +1062,7 @@ export function createClient<
}

/**
* A syntetic close event `4499: Terminated` is issued to the current to immediately
* A synthetic close event `4499: Terminated` is issued to the current to immediately
* close the connection without waiting for the one coming from `WebSocket.onclose`.
*
* Terminating is not considered fatal and a connection retry will occur as expected.
Expand Down

0 comments on commit 63881c3

Please sign in to comment.