Skip to main content

Function: onDidChange()

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

An event which fires when extensions.all changes. This can happen when extensions are installed, uninstalled, enabled or disabled.

Parameters

listener

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:278