Auxiliary method
(defmethod method :before/:after/:around ((object object.type) &rest restarg)
(foo))
Before: run before the most specific primary method and run in most-specific-first-order
can be used to do any preparation needed to ensure that the primary method can run.
After: run after the primary methods in most-specific-last order
Before + After provide a sort of nested wrapping around the core functionality.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment