22 lines
458 B
JavaScript
22 lines
458 B
JavaScript
// Module ID: 994
|
|
// Function ID: 10680
|
|
// Name: done
|
|
// Dependencies: [995]
|
|
|
|
// Module 994 (done)
|
|
require("noop").prototype.done = function(arg0, arg1) {
|
|
const self = this;
|
|
let self2 = this;
|
|
if (arguments.length) {
|
|
const then = self.then;
|
|
self2 = then(...arguments);
|
|
}
|
|
self2.then(null, (arg0) => {
|
|
let closure_0 = arg0;
|
|
const timerId = setTimeout(() => {
|
|
throw closure_0;
|
|
}, 0);
|
|
});
|
|
};
|
|
|
|
export { default } from "noop";
|