Implementations of this method may either call f
to continue processing
the wrapped call as normal, or may ignore f
to entirely replace the
wrapped call with a custom implementation.
Implementations of this method may either call f
to continue processing
the wrapped call as normal, or may ignore f
to entirely replace the
wrapped call with a custom implementation.
the delegate which provides processing by the underlying framework
A component that takes action around some other functionality. It may choose to execute or not execute that functionality, but should not interpret or change the returned value; instead, it should perform orthogonal actions that need to occur around the given functionality. A canonical example is wrapping an SQL transaction around some piece of code.
As an example, this trait defines the principal contract for function objects that wrap the processing of HTTP requests in Lift.