view tests/csdebug.ur @ 1665:f9ffe8497742

Fix channel delivery to handle sending of messages for channels whose clients haven't connected yet
author Adam Chlipala <adam@chlipala.net>
date Sun, 08 Jan 2012 15:47:05 -0500
parents bd34a4af516a
children
line wrap: on
line source
fun main () : transaction page =
    n <- source 0;
    return <xml><body>
      <button onclick={n' <- get n; set n (n' + 1); debug ("Message: " ^ show n')}/>
    </body></xml>