package lwt
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Promises and event-driven I/O
Install
dune-project
Dependency
Authors
Maintainers
Sources
6.1.0.tar.gz
md5=16d58c8295b5273e58779db0ad1f967a
sha512=d5eafe2f5d2dc576b76db15b84caf69d673cb3d736dc3e40b239e6a42c6036658c78bd4b883e9f2b9f627c144be515b1824f1f2de9d79c05d5744c456fb63257
doc/lwt.unix/Lwt_engine/class-abstract/index.html
Class Lwt_engine.abstractSource
Abstract class for engines.
method virtual id : engine_ididentifies the engine
method transfer : abstract -> unittransfer engine moves all events from the current engine to engine. Note that timers are reset in the destination engine, i.e. if a timer with a delay of 2 seconds was registered 1 second ago it will occur in 2 seconds in the destination engine.
Event loop methods
method on_readable : Unix.file_descr -> (event -> unit) -> eventmethod on_writable : Unix.file_descr -> (event -> unit) -> eventmethod fake_io : Unix.file_descr -> unitBackend methods
Notes:
- the callback passed to register methods is of type
unit -> unitand notevent -> unit - register methods return a lazy value which unregisters the event when forced
method private virtual register_readable : Unix.file_descr ->
(unit -> unit) ->
unit Lazy.tmethod private virtual register_writable : Unix.file_descr ->
(unit -> unit) ->
unit Lazy.tmethod private virtual register_timer : float ->
bool ->
(unit -> unit) ->
unit Lazy.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page