package eio_luv
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val close : 'a t -> unit
close t
closes t
.
val to_luv : 'a t -> 'a Luv.Handle.t
to_luv t
returns the wrapped handle.
This allows unsafe access to the handle.
val of_luv : ?close_unix:bool -> sw:Eio.Std.Switch.t -> 'a Luv.Handle.t -> 'a t
of_luv ~sw h
wraps h
as an open handle.
You must pass the loop (from get_loop
) to any Luv function that accepts one as an optional argument in order to use the resource with the correct event loop.
This function is unsafe if h
is closed directly (before or after wrapping it).
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>