Closed pmeinhardt closed 1 year ago
Currently, the server WebSocket handler contains the demo "tick-and-send-update" code. Instead, server-side LiveView instances should be able to send updates whenever they're changed.
LiveView
https://github.com/pmeinhardt/ktor-liveview/blob/b1a959ab18844d3bac1f4b63514852ba9429235a/src/main/kotlin/io/mnhrdt/plugins/live/Live.kt#L53-L62
See: c210533a63768bf761ef79113179db570c8bf639
Currently, the server WebSocket handler contains the demo "tick-and-send-update" code. Instead, server-side
LiveView
instances should be able to send updates whenever they're changed.https://github.com/pmeinhardt/ktor-liveview/blob/b1a959ab18844d3bac1f4b63514852ba9429235a/src/main/kotlin/io/mnhrdt/plugins/live/Live.kt#L53-L62