chore: drop comments that restate the code

This commit is contained in:
edmand46
2026-09-29 16:43:15 +03:00
parent 17a55888a5
commit 4a167df587
25 changed files with 16 additions and 350 deletions
-14
View File
@@ -1,14 +1,3 @@
/**
* RudderClient — the main entry point of `@rudder/sdk`; create it with
* {@link createClient}.
*
* Composes the kernel domains (auth, player, catalog, storage, modules) and the HTTP transport every service uses to reach the API.
*
* The client builds a {@link RudderContext} first and injects it into every
* domain, so they depend on that narrow surface rather than on the client
* (which keeps the module graph acyclic).
*/
import type {
ResolvedRudderClientOptions,
RudderClientOptions,
@@ -102,7 +91,6 @@ export class RudderClient {
this.runtimeStarted = false;
}
/** @internal */
async startRuntimeAfterLogin(): Promise<void> {
if (this.runtimeStarted) {
this.invalidateAll();
@@ -112,7 +100,6 @@ export class RudderClient {
this.syncEngine.start();
}
/** @internal */
stopRuntimeAfterLogout(): void {
this.runtimeStarted = false;
this.syncEngine.stop();
@@ -132,7 +119,6 @@ export class RudderClient {
}
}
/** Creates a client. Only `projectKey` is required. */
export function createClient(options: RudderClientOptions): RudderClient {
return new RudderClient(options);
}