ContextAppend
trait ContextAppend[In, Out]Controls how mount-aspect contexts accumulate.
This is an advanced extension point used by aspect and route-builder composition. The built-in
behavior discards the initial Any identity context and otherwise pairs contexts as
(In, Out). It does not recursively flatten tuples. Custom instances may choose another
Result, but left must recover the original In from an appended result so layouts installed
before a later aspect continue to receive their original context.
Type parameters
Inthe context accumulated before the next aspect
Outthe context produced by the next aspect
Defined by scalive.ContextAppend. View source (scalive/api/src/scalive/LiveMountAspect.scala:212-220)
Types1
Result
type ResultThe accumulated context type.
Defined by scalive.ContextAppend.Result. View source (scalive/api/src/scalive/LiveMountAspect.scala:214-214)
Methods2
append
def append(input: In, output: Out): ResultCombines the preceding and newly produced contexts.
Defined by scalive.ContextAppend.append. View source (scalive/api/src/scalive/LiveMountAspect.scala:217-217)
left
def left(result: Result): InProjects the preceding context from an accumulated result.
Defined by scalive.ContextAppend.left. View source (scalive/api/src/scalive/LiveMountAspect.scala:220-220)