Lines Matching refs:onCancel
1050 Promise.prototype._attachCancellationCallback = function(onCancel) { argument
1065 executor(resolve, reject, function(onCancel) { argument
1066 if (typeof onCancel !== "function") {
1068 util.toString(onCancel));
1070 promise._attachCancellationCallback(onCancel);
1077 function cancellationAttachCancellationCallback(onCancel) { argument
1083 previousOnCancel.push(onCancel);
1085 this._setOnCancel([previousOnCancel, onCancel]);
1088 this._setOnCancel(onCancel);
1096 function cancellationSetOnCancel(onCancel) { argument
1097 this._onCancelField = onCancel;