"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const instantiation = require("../../instantiation/common/instantiation.js");
class Progress {
  constructor(callback) {
    this.callback = callback;
  }
  report(item) {
    this._value = item;
    this.callback(this._value);
  }
}
Progress.None = Object.freeze({ report() {
} });
const IEditorProgressService = instantiation.createDecorator("editorProgressService");
exports.IEditorProgressService = IEditorProgressService;
exports.Progress = Progress;
