Implement subscriptions

This commit is contained in:
Paul-Henri Froidmont 2025-09-11 17:30:26 +02:00
parent 08036ab5aa
commit 5da0b64c3e
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
7 changed files with 103 additions and 45 deletions

View file

@ -3,6 +3,7 @@ package playground
import scalive.*
import zio.*
import zio.stream.ZStream
import TestView.*
class TestView extends LiveView[Msg, Model]:
@ -29,6 +30,8 @@ class TestView extends LiveView[Msg, Model]:
)
)
def subscriptions(model: Model) = ZStream.empty
object TestView:
enum Msg: