package async_udp
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Monadic concurrency library
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=018a4556494ae313ec796b816b2c8463ec4faed88520820f466bf42d849dda80
doc/async_udp/Async_udp/Config/index.html
Module Async_udp.ConfigSource
A typical receive loop implicitly calls Iobuf.flip_lo before calling its callback to prepare a packet buffer for reading by the callback and Iobuf.reset afterward to prepare for the next iteration.
It's often convenient to use the same interface for UDP, TCP, and file variants of the same protocol.
stop terminates a typical loop as soon as possible, when it becomes determined.
max_ready limits the number of receive loop iterations within an Fd.every_ready_to iteration, to prevent starvation of other Async jobs and to allow bounded busy-waiting, as on busy network sockets.
Source
val create :
?capacity:int ->
?init:write_buffer ->
?stop:unit Async.Deferred.t ->
?max_ready:int ->
unit ->
t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>