Mercurial > urweb
annotate demo/broadcast.urs @ 1083:2eb585274501
Stop skipping Especialization of generated functions; fix Compiler.parseUrp; expose uw_really_write(); allow more NULL arguments to uw_register_transactional()
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Wed, 23 Dec 2009 12:25:34 -0500 |
parents | 4e260887d8f2 |
children |
rev | line source |
---|---|
adamc@699 | 1 functor Make(M : sig type t end) : sig |
adamc@699 | 2 type topic |
adamc@699 | 3 |
adamc@699 | 4 val inj : sql_injectable topic |
adamc@699 | 5 |
adamc@699 | 6 val create : transaction topic |
adamc@699 | 7 val subscribe : topic -> transaction (channel M.t) |
adamc@699 | 8 val send : topic -> M.t -> transaction unit |
adamc@699 | 9 |
adamc@699 | 10 val subscribers : topic -> transaction int |
adamc@699 | 11 end |