UNPKG

typescript-dotnet-amd

Version:

A JavaScript-Friendly .NET Based TypeScript Library.

18 lines (14 loc) 457 B
/*! * @author electricessence / https://github.com/electricessence/ * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md */ import {IDisposable} from "../Disposable/IDisposable"; export interface ICancellable extends IDisposable { /** * Returns true if cancelled. * Returns false if already run or already cancelled or unable to cancel. */ cancel():boolean; } export default ICancellable;