UNPKG

surrogate

Version:

Object method hooks made easy

46 lines (43 loc) 1.14 kB
class $b46690a060f01c1f$export$2881499e37b75b9a { constructor(node, receivedArgs, error){ this.node = node; this.receivedArgs = receivedArgs; this.error = error; this.returnValue = this.node.controller.returnValue; } get action() { return this.context.event; } get correlationId() { return this.node.controller.correlationId; } get currentArgs() { return this.node.controller.currentArgs; } get hookType() { return this.node.hookType; } get instance() { return this.node.instance; } get originalArgs() { return this.context.originalArguments; } get provide() { return this.node.container.options.provide; } get result() { return this.returnValue; } get timeTracker() { return this.node.controller.timeTracker; } get context() { return this.node.context; } get container() { return this.node.container; } } export {$b46690a060f01c1f$export$2881499e37b75b9a as Provider}; //# sourceMappingURL=surrogate.de735afd.js.map