zio.http.datastar.SignalUpdate
See theSignalUpdate companion object
A signal name paired with its JSON-serialized value.
Created via Signal.:=. The name is the signal identifier and serialized is the JSON string produced by the signal's schema codec. Used by DatastarEvent.patchSignals to build SSE payloads and by the ToJs instance to render inline JavaScript object literals.
serialized is inserted verbatim into the final object expression, so it must already be valid JSON for the value being assigned.
Attributes
- Companion
- object
- Source
- SignalUpdate.scala
- Graph
-
- Supertypes
Members list
In this article