ElectronEnableNetworkEmulationOptions
Unofficial
Options for emulating network conditions for a session.
Import:
import type { ElectronEnableNetworkEmulationOptions } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronEnableNetworkEmulationOptionsProperties
| Property | Type | Description | |
|---|---|---|---|
| downloadThroughput? | number | Download rate in Bps. 0 disables download throttling. | |
| latency? | number | RTT in ms. 0 disables latency throttling. | |
| offline? | boolean | Whether to emulate network outage. | |
| uploadThroughput? | number | Upload rate in Bps. 0 disables upload throttling. |