We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae1f4db commit fb557d1Copy full SHA for fb557d1
packages/minimal/src/index.ts
@@ -180,7 +180,14 @@ export function withScope(callback: (scope: Scope) => void): void {
180
callOnHub<void>('withScope', callback);
181
}
182
183
-/** */
+/**
184
+ * Executes a callback on the hub that is given a client and scope if they exist. If no client
185
+ * exists, the callback will not execute.
186
+ *
187
+ * @param callback that is called with client and scope.
188
+ * @hidden
189
+ */
190
+// eslint-disable-next-line @typescript-eslint/no-explicit-any
191
export function _withClient(callback: (client: Client, scope: Scope | undefined) => void): void {
192
callOnHub<void>('_withClient', callback);
193
0 commit comments