UNPKG

microsoft-speech-browser-sdk

Version:
29 lines (25 loc) 554 B
/** * * * @export * @interface IDisposable */ export interface IDisposable { /** * * * @returns {boolean} * * @memberOf IDisposable */ IsDisposed(): boolean; /** * Performs cleanup operations on this instance * * @param {string} [reason] optional reason for disposing the instance. * This will be used to throw errors when a operations are performed on the disposed object. * * @memberOf IDisposable */ Dispose(reason?: string): void; }