Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

LifecycleTurnKind

enum LifecycleTurnKind

Source of work processed by one connected lifecycle turn.

Defined by scalive.LifecycleTurnKind. View source (scalive/api/src/scalive/LifecycleObserver.scala:99-130)

Values9

AsyncCompletion

val AsyncCompletion: LifecycleTurnKind

The result of async work, such as a task started with start by the LiveView or one of its LiveComponents.

Defined by scalive.LifecycleTurnKind.AsyncCompletion. View source (scalive/api/src/scalive/LifecycleObserver.scala:117-117)

Bootstrap

val Bootstrap: LifecycleTurnKind

The first turn of a connected lifecycle, which mounts the LiveView and renders it.

Defined by scalive.LifecycleTurnKind.Bootstrap. View source (scalive/api/src/scalive/LifecycleObserver.scala:101-101)

BrowserEvent

val BrowserEvent: LifecycleTurnKind

A browser event handled by the LiveView.

Defined by scalive.LifecycleTurnKind.BrowserEvent. View source (scalive/api/src/scalive/LifecycleObserver.scala:104-104)

ComponentBrowserEvent

val ComponentBrowserEvent: LifecycleTurnKind

A browser event targeted at a LiveComponent.

Defined by scalive.LifecycleTurnKind.ComponentBrowserEvent. View source (scalive/api/src/scalive/LifecycleObserver.scala:107-107)

Internal

val Internal: LifecycleTurnKind

A turn that Scalive starts itself, without a command.

Defined by scalive.LifecycleTurnKind.Internal. View source (scalive/api/src/scalive/LifecycleObserver.scala:129-129)

Message

val Message: LifecycleTurnKind

A message submitted directly to the LiveView, outside a browser event, async result, or subscription.

Defined by scalive.LifecycleTurnKind.Message. View source (scalive/api/src/scalive/LifecycleObserver.scala:112-112)

ParamsPatch

val ParamsPatch: LifecycleTurnKind

A live patch to a new URL within the same LiveView.

Defined by scalive.LifecycleTurnKind.ParamsPatch. View source (scalive/api/src/scalive/LifecycleObserver.scala:126-126)

Subscription

val Subscription: LifecycleTurnKind

A value from a managed subscription, or the end of its stream.

Defined by scalive.LifecycleTurnKind.Subscription. View source (scalive/api/src/scalive/LifecycleObserver.scala:120-120)

Upload

val Upload: LifecycleTurnKind

An upload control step, such as a preflight or progress update.

Defined by scalive.LifecycleTurnKind.Upload. View source (scalive/api/src/scalive/LifecycleObserver.scala:123-123)