UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
1 lines 951 B
{"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.\r\n// Licensed under the MIT license.\r\n\r\n/**\r\n * @export\r\n * @interface IDisposable\r\n */\r\nexport interface IDisposable {\r\n\r\n /**\r\n * @returns {boolean}\r\n *\r\n * @memberOf IDisposable\r\n */\r\n isDisposed(): boolean;\r\n\r\n /**\r\n * Performs cleanup operations on this instance\r\n *\r\n * @param {string} [reason] - optional reason for disposing the instance.\r\n * This will be used to throw errors when a operations are performed on the disposed object.\r\n *\r\n * @memberOf IDisposable\r\n */\r\n dispose(reason?: string): void;\r\n}\r\n"]}