constructor(
limit: number = 10,
) {
this._limit = limit;
this._onChange();
if (this._history.onDidChange) {
this._disposable = this._history.onDidChange(() => this._onChange());
}
public getHistory(): T[] {