package algaeff
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Signatures of read effects.
include Param
val get : unit -> state
get ()
reads the current state.
val set : state -> unit
set x
makes x
the new state.
modify f
applies f
to the current state and then set the result as the new state.
val run : init:state -> (unit -> 'a) -> 'a
run t
runs the thunk t
which may perform state effects.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>