Module React.Step

module Step: sig .. end
Update steps.

Update functions returned by React.S.create and React.E.create implicitely create and execute update steps when used without specifying their step argument.

Using explicit React.step values with these functions gives more control on the time when the update step is perfomed and allows to perform simultaneous primitive signal updates and event occurences. See also the documentation about update steps and simultaneous events.


type t = React.step 
The type for update steps.
val create : unit -> React.step
create () is a new update step.
val execute : React.step -> unit
execute step executes the update step.
Raises Invalid_argument if step was already executed.