Around

trait Around extends Context

The Around trait can be inherited by classes which will execute some code inside the around method provided by the context.

This can be used for example to execute some code inside a webapp session

See also:

Example to understand why the type T must : AsResult

Companion:
object
trait Context
trait Scope
trait Scope
class Object
trait Matchable
class Any
trait Around
trait NoStdOut
object NoStdOut.type

Value members

Abstract methods

def around[T : AsResult](t: => T): Result

Concrete methods

sequence the actions of 2 Around traits

sequence the actions of 2 Around traits

def apply[T : AsResult](a: => T): Result

compose the actions of 2 Around traits

compose the actions of 2 Around traits