package riot
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Impl
is the module type of the generic server base implementations. You can use this type when defining new gen servers like this:
type args = int
module Server : Gen_server.Impl with type args = args = struct
type nonrec args = args
type state = { status : int }
let init _args = Gen_server.Ok { status = 1 }
(* ... *)
end
val init : args -> state init_result
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>