Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

Case

class Case[C]

One case of a matchCases builder. Apply it to the function that renders the case.

Defined by scalive.Signal.Case. View source (scalive/api/src/scalive/Signal.scala:233-236)

Methods1

apply

def apply[Msg](project: Signal[C] => Mod.Input[Msg]): Signal.CaseHandler[C, Msg]

Renders this case with project, which receives a signal of the case's value.

Defined by scalive.Signal.Case.apply. View source (scalive/api/src/scalive/Signal.scala:235-236)