surrogate
Version:
Object method hooks made easy
20 lines (14 loc) • 769 B
JavaScript
import {MethodNext as $ca13c9cbc8d397bb$export$d5657df6f265646f} from "./surrogate.3f15531e.js";
import {FinalNext as $94e16349b09db091$export$c416985199e6fdd0} from "./surrogate.839164db.js";
class $8f4a85060a866b5e$export$e19dff01014cc77d extends (0, $94e16349b09db091$export$c416985199e6fdd0) {
constructor(controller, proxy, container, hookType){
super(controller, proxy, container, hookType);
this.nextNode = new (0, $ca13c9cbc8d397bb$export$d5657df6f265646f)(controller, proxy, hookType);
}
handleNext() {
this.controller.setNext(this.nextNode);
this.controller.runOriginal(this.nextNode);
}
}
export {$8f4a85060a866b5e$export$e19dff01014cc77d as PreMethodNext};
//# sourceMappingURL=surrogate.a8f987b4.js.map