when callback, can you pass the function name back ?
Opened this issue · 1 comments
onion555 commented
meld.after(this.object, [ 'query, 'list' ], (result, functionName /can you pass this back to me ?/)=> {
});
briancavalier commented
Hi @onion555. Good question. You can access the current method name within any advice function via the current joinpoint's method
property, i.e. `meld.joinpoint().method. See also here and here.
Hope that helps!