package ocaml-compiler
Official release of OCaml 5.3.0
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-5.3.0.tar.gz
sha256=22c1dd9de21bf43b62d1909041fb5fad648905227bf69550a6a6bef31e654f38
doc/runtime_events/Runtime_events/User/index.html
Module Runtime_events.User
User events is a way for libraries to provide runtime events that can be consumed by other tools. These events can carry known data types or custom values. The current maximum number of user events is 8192.
The type for a user event tag. Tags are used to discriminate between user events of the same type.
The type for a user event. User events describe their tag, carried data type and an unique string-based name.
register name tag ty
registers a new event with an unique name
, carrying a tag
and values of type ty
.
val write : 'value t -> 'value -> unit
write t v
emits value v
for event t
.
val name : _ t -> string
name t
is the unique identifying name of event t
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>