Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
t

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

In

the context accumulated before the next aspect

Out

the context produced by the next aspect

Defined by scalive.ContextAppend. View source (scalive/api/src/scalive/LiveMountAspect.scala:212-220)

Types1

Result

type Result

The 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): Result

Combines 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): In

Projects the preceding context from an accumulated result.

Defined by scalive.ContextAppend.left. View source (scalive/api/src/scalive/LiveMountAspect.scala:220-220)