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
1
wasm/types/mtp_wasm.d.ts
vendored
1
wasm/types/mtp_wasm.d.ts
vendored
|
|
@ -121,6 +121,7 @@ export class WasmClient implements DisposableWasmObject {
|
|||
subscribe(message_type: string, callback: MessageCallback): number;
|
||||
unsubscribe(id: number): boolean;
|
||||
static is_supported(): boolean;
|
||||
readonly ping_ms: number | undefined;
|
||||
readonly state: ConnectionState;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue