package eliom
Advanced client/server Web and mobile framework
Install
dune-project
Dependency
Authors
Maintainers
Sources
11.1.0.tar.gz
md5=a1fe1f37d5163c25818afcc5ca8d6ecf
sha512=4ac91ff05bb43eea5d5e1e046bc54a0c97707db28be3c2f65437fbb1b3457171f715105f7f0621837494c014dc05473f26bc919483b0e47d394a2bbe19b319a7
doc/eliom.server/Eliom_notif/Make/argument-1-A/index.html
Parameter Make.A
val prepare : identity -> server_notif -> client_notif option Lwt.t
prepare f
transforms server notifications into client notifications. It provides the identity
as a parameter which identifies the client. You can suppress notifications for a specific client (for instance because of missing authorisation) by having f
return None
.
equal_key
is a function testing the equality between two values of type key
.
equal_identity
is the same as equal_key
but for values of type identity
.
get_identity
is a function returning a value of type identity
corresponding to a client.
max_resource
is the initial size for the hash table storing the data of clients listening on resources, for best results it should be on the order of the expected number of different resources one may want to be able to listen to.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>