public static IPromise<T> Cancelled<T>( this IPromise<T> promise, Action<OperationCanceledException> callback )
<ExtensionAttribute> Public Shared Function Cancelled(Of T) ( promise As IPromise(Of T), callback As Action(Of OperationCanceledException) ) As IPromise(Of T)