LifecycleObserver
trait LifecycleObserverReceives structured operational events from LiveView lifecycles.
Observers run synchronously and should not block. Scalive isolates observer failures from the observed lifecycle, but a slow observer can still delay it. Structured fields deliberately exclude models, messages, browser payloads, credentials, and session claims. Application-thrown exception causes may contain application data and require the same handling as application logs.
Defined by scalive.LifecycleObserver. View source (scalive/api/src/scalive/LifecycleObserver.scala:13-21)
Methods2
andThen
def andThen(that: LifecycleObserver): LifecycleObserverSends each event to this observer and then that observer.
Defined by scalive.LifecycleObserver.andThen. View source (scalive/api/src/scalive/LifecycleObserver.scala:17-18)
observe
def observe(event: LifecycleEvent): zio.package.UIO[Unit]Defined by scalive.LifecycleObserver.observe. View source (scalive/api/src/scalive/LifecycleObserver.scala:14-14)