view demo/broadcast.urs @ 1925:15802a00816c

activeHead: don't modify the head. just execute the code provided
author Sergey Mironov <grrwlf@gmail.com>
date Fri, 06 Dec 2013 14:52:47 +0400
parents 4e260887d8f2
children
line wrap: on
line source
functor Make(M : sig type t end) : sig
    type topic

    val inj : sql_injectable topic

    val create : transaction topic
    val subscribe : topic -> transaction (channel M.t)
    val send : topic -> M.t -> transaction unit

    val subscribers : topic -> transaction int
end