11 lines · 493 B · TypeScript
RawDownload
// Best-effort network interface snapshot reported by the main process. Whether the machine is// online at all is decided in the renderer (navigator.onLine); this only describes the local// interface, which stays populated even without internet access.export type NetworkConnectionType = 'wifi' | 'ethernet' | 'unknown' export type NetworkInfo = {  connectionType: NetworkConnectionType  ipAddress: string | null} export const NETWORK_SYSTEM_RESUMED_CHANNEL = 'network:system-resumed'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t