Mercurial > urweb
view demo/broadcast.urs @ 2030:6add6d00ef5f
Call try_rollback before resetting the context
This will allow FFI cleanup handlers to complete.
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Sun, 15 Jun 2014 21:13:12 +0000 |
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