igniteui-react-core
Version:
Ignite UI React Core.
40 lines (39 loc) • 1.35 kB
JavaScript
/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { EventArgs, markType } from "./type";
/**
* @hidden
*/
export let AsyncCompletedEventArgs = /*@__PURE__*/ (() => {
class AsyncCompletedEventArgs extends EventArgs {
constructor(a, b, c) {
super();
this.d = null;
this.b = false;
this.f = null;
this.b = b;
this.d = a;
this.f = c;
}
get error() {
return this.d;
}
get cancelled() {
return this.b;
}
get userState() {
return this.f;
}
h() {
if (this.error != null) {
throw this.error;
}
}
}
AsyncCompletedEventArgs.$t = /*@__PURE__*/ markType(AsyncCompletedEventArgs, 'AsyncCompletedEventArgs', EventArgs.$);
return AsyncCompletedEventArgs;
})();