ProjectionAction
class ProjectionAction<T : Any>(val type: ProjectionType, decode: (ProjectionValue) -> T, handle: UiSession.(T) -> Unit)(source)
Server-owned typed event endpoint. The decoder validates untrusted detached data before the handler receives a value. The runtime owns this endpoint only while its declaring node and generation remain active.