After

trait After extends Context

The After trait can be inherited by classes representing a context where an action must be executing after the main executable action

See also

Example to understand why the type T must : AsResult

Companion
object
trait Context
class Object
trait Matchable
class Any

Value members

Abstract methods

def after: Any

override this method to provide the after behavior

override this method to provide the after behavior

Concrete methods

def andThen(b: After): After

sequence the actions of 2 After traits

sequence the actions of 2 After traits

def apply[T](a: => T)(using evidence$4: AsResult[T]): Result

execute an action returning a Result and finally the after action

execute an action returning a Result and finally the after action

def compose(a: After): After

compose the actions of 2 After traits

compose the actions of 2 After traits