Expose native ping RTT in WASM SDK
All checks were successful
CI / checks (push) Successful in 6m41s
All checks were successful
CI / checks (push) Successful in 6m41s
This commit is contained in:
parent
bcf8aee371
commit
fa271e62be
3 changed files with 46 additions and 2 deletions
|
|
@ -857,6 +857,10 @@ export class MTPClient {
|
|||
return this.raw.client.state;
|
||||
}
|
||||
|
||||
get pingMs(): number | null {
|
||||
return this.raw.client.ping_ms ?? null;
|
||||
}
|
||||
|
||||
async #loadStoredCredentials() {
|
||||
if (this.#credentials || !this.#options.storage) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue