Skip to main content

Function: onDidUpdateProxy()

onDidUpdateProxy(listener, thisArgs?, disposables?): Disposable

Listen for changes on the proxy settings. The listener will be called with the new settings every time the settings change.

For examples, see proxy and Event.

Parameters

listener

(e) => any

The listener function will be called when the event happens.

thisArgs?

any

The this-argument which will be used when calling the event listener.

disposables?

Disposable[]

An array to which the resulting Disposable will be added.

Returns

Disposable

A disposable which unsubscribes the event listener.

Defined in

packages/extension-api/src/extension-api.d.ts:1060