server

Types

pub type Handler(a) {
  Signal(name: String, initial_value: a, handler: fn(a) -> a)
}

Constructors

  • Signal(name: String, initial_value: a, handler: fn(a) -> a)

Functions

pub fn server(handlers: List(Handler(a))) -> Nil
Search Document