Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

LiveRouteMountAspect

class LiveRouteMountAspect[R, A, -In, Ctx]

Derives fresh typed route context before every disconnected or connected route mount.

Route aspects do not issue claims. Their output is never serialized or trusted across routes; the aspect runs again with the destination's typed parameters during same-session live navigation.

Defined by scalive.LiveRouteMountAspect. View source (scalive/api/src/scalive/LiveRouteMountAspect.scala:79-95)

Methods2

++

def ++[R1, Ctx2, Result](that: LiveRouteMountAspect[R1, A, Ctx, Ctx2])(using append: ContextAppend.Aux[Ctx, Ctx2, Result]): LiveRouteMountAspect[&[R, R1], A, In, Result]

Composes two route aspects from left to right on every mount.

Defined by scalive.LiveRouteMountAspect.++. View source (scalive/api/src/scalive/LiveRouteMountAspect.scala:86-95)

map

def map[Ctx2](f: Ctx => Ctx2): LiveRouteMountAspect[R, A, In, Ctx2]

Transforms the freshly derived context without changing this aspect's input.

Defined by scalive.LiveRouteMountAspect.map. View source (scalive/api/src/scalive/LiveRouteMountAspect.scala:82-83)