{"version":3,"sources":["src/common/IDisposable.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAExB;;;;OAIG;IACH,UAAU,IAAI,OAAO,CAAC;IAEtB;;;;;;;OAOG;IACH,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC","file":"IDisposable.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n/**\n * @export\n * @interface IDisposable\n */\nexport interface IDisposable {\n\n    /**\n     * @returns {boolean}\n     *\n     * @memberOf IDisposable\n     */\n    isDisposed(): boolean;\n\n    /**\n     * Performs cleanup operations on this instance\n     *\n     * @param {string} [reason] - optional reason for disposing the instance.\n     * This will be used to throw errors when a operations are performed on the disposed object.\n     *\n     * @memberOf IDisposable\n     */\n    dispose(reason?: string): void;\n}\n"]}