File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -470,22 +470,6 @@ export class Hub implements HubInterface {
470
470
}
471
471
}
472
472
473
- /**
474
- * Internal helper function to call a method on the top client if it exists.
475
- *
476
- * @param method The method to call on the client.
477
- * @param args Arguments to pass to the client function.
478
- * @deprecated
479
- */
480
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
481
- private _invokeClient < M extends keyof Client > ( method : M , ...args : any [ ] ) : void {
482
- const { scope, client } = this . getStackTop ( ) ;
483
- if ( client && client [ method ] ) {
484
- // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any
485
- ( client as any ) [ method ] ( ...args , scope ) ;
486
- }
487
- }
488
-
489
473
/**
490
474
* Internal helper function to call a method on the top client if it exists.
491
475
*
Original file line number Diff line number Diff line change @@ -180,22 +180,6 @@ export function withScope(callback: (scope: Scope) => void): void {
180
180
callOnHub < void > ( 'withScope' , callback ) ;
181
181
}
182
182
183
- /**
184
- * Calls a function on the latest client. Use this with caution, it's meant as
185
- * in "internal" helper so we don't need to expose every possible function in
186
- * the shim. It is not guaranteed that the client actually implements the
187
- * function.
188
- *
189
- * @param method The method to call on the client/client.
190
- * @param args Arguments to pass to the client/fontend.
191
- * @hidden
192
- * @deprecated Please use {@link _withClient}
193
- */
194
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
195
- export function _callOnClient ( method : string , ...args : any [ ] ) : void {
196
- callOnHub < void > ( '_invokeClient' , method , ...args ) ;
197
- }
198
-
199
183
/** */
200
184
export function _withClient ( callback : ( client : Client , scope : Scope | undefined ) => void ) : void {
201
185
callOnHub < void > ( '_withClient' , callback ) ;
You can’t perform that action at this time.
0 commit comments