This is server API (go to client)
Module Eliom_react.Up
module Up : sig..end
of_react ?scope ?throttling ?name e create an
asynchronous edge originating from e. The parameters are: throttling
for the limit to event propagation rate, name for named edges. scope
tell which kind of channel this rely on (See Eliom_comet.create).
type 'a t
val to_react : 'a t -> 'a React.E.t
The type of events that, while being "on the server", are triggered by
clients. On the server such an event is /primitive/ (hence the create
function) whereas it is /effect-full/ on the client.
val create :
?scope:Eliom_common.scope ->
?name:string ->
('a, [ `WithoutSuffix ],
[ `One of 'a Eliom_parameters.caml ] Eliom_parameters.param_name)
Eliom_parameters.params_type -> 'a t
to_react e injects the up events e into react events so that it can
be manipulated as a standard event.
