Skip to content

Commit 1f7ded2

Browse files
removed abort
1 parent 8bb6ec6 commit 1f7ded2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/sdkBase.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -215,21 +215,6 @@ export abstract class SdkBase {
215215
});
216216
}
217217

218-
// Note: This doesn't invoke callbacks. It's a hard, silent reset.
219-
/**
220-
* @deprecated abort() is deprecated in version 3.10.0. Will be removed in June 2025. Use disconnect() instead
221-
*/
222-
public abort(reason?: string) {
223-
this._tokenPromiseHandler.rejectAllPromises(
224-
reason ?? new Error(`${this._product.name} SDK aborted.`)
225-
);
226-
if (this._refreshTimerId) {
227-
clearTimeout(this._refreshTimerId);
228-
this._refreshTimerId = null;
229-
}
230-
if (this._apiClient) this._apiClient.abortActiveRequests();
231-
}
232-
233218
private initInternal(opts: SdkOptions | unknown) {
234219
if (!isSDKOptionsOrThrow(opts))
235220
throw new TypeError(`Options provided to ${this._product.name} init couldn't be validated.`);

0 commit comments

Comments
 (0)