-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Open
Labels
api-finalizationfeature-requestRequest for new features or functionalityRequest for new features or functionalitynetworkNetwork related issuesNetwork related issueson-testplan
Milestone
Description
This API allows extensions to detect when network connection is slow/metered and adjust automated network activity according. For example, Git extension would postpone auto-sync operations when connection is metered.
declare module 'vscode' {
export namespace env {
/**
* Whether the current network connection is metered (such as mobile data or tethering).
* Always returns `false` if the `update.respectMeteredConnections` setting is disabled.
*/
export const isMeteredConnection: boolean;
/**
* Event that fires when the metered connection status changes.
*/
export const onDidChangeMeteredConnection: Event<boolean>;
}
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api-finalizationfeature-requestRequest for new features or functionalityRequest for new features or functionalitynetworkNetwork related issuesNetwork related issueson-testplan