A function that represents an event to which you subscribe by calling it with a listener function as argument.
A function that represents an event to which you subscribe by calling it with a listener function as argument.
The listener function will be called when the event happens.
The this
-argument which will be used when calling the event listener.
An array to which a Disposable will be added.
A disposable which unsubscribes the event listener.
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
Represents a typed event.
A function that represents an event to which you subscribe by calling it with a listener function as argument.
item.onDidChange(function(event) { console.log("Event happened: " + event); });