Closed evliu closed 9 years ago
It's already like that by design. When calling before.update with a function, this function is pushed into an array that is later iterated over when the hook is executed.
awesome, thanks a lot!
@evliu what about after.update
? Can we use multiple after hook on a collection?
@evliu My question related to this: https://github.com/matb33/meteor-collection-hooks/issues/205
I was wondering if there was a way to append more functions to be run on
someCollection.before.update(myFunction)
. I'm writing a package to extend a framework that already declares abefore.update
action and I don't want to overwrite it, but add to it. Thanks!