ParamsConnected
trait ParamsConnected[Msg] extends ConnectedMetadataCapabilities that a LiveView.Routed can use only when it handles route parameters in a connected lifecycle.
Reach them by matching ctx.connection in handleParams. Work started here belongs to the
lifecycle and stops when it closes.
Defined by scalive.ParamsConnected. View source (scalive/api/src/scalive/lifecycle/Connection.scala:95-106)
Methods4
async
def async: Async[Msg]Starts finite background work whose result returns as a message.
Defined by scalive.ParamsConnected.async. View source (scalive/api/src/scalive/lifecycle/Connection.scala:97-97)
client
def client: ClientPushes events and JavaScript commands to the browser.
Defined by scalive.ParamsConnected.client. View source (scalive/api/src/scalive/lifecycle/Connection.scala:103-103)
components
def components: ComponentUpdatesSends new props to stateful components rendered by this view.
Defined by scalive.ParamsConnected.components. View source (scalive/api/src/scalive/lifecycle/Connection.scala:106-106)
subscriptions
def subscriptions: Subscriptions[Msg]Starts message streams that run while the page stays connected.
Defined by scalive.ParamsConnected.subscriptions. View source (scalive/api/src/scalive/lifecycle/Connection.scala:100-100)