package lwt
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  Promises and event-driven I/O
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      5.1.1.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=078a6c351d94d6eeb827c62a25c87ac11715c791f4b642d85303740c2cac8d3f
    
    
  md5=4ddec0f42b7aa4a310175a14c47c60a3
    
    
  doc/lwt.unix/Lwt_throttle/module-type-S/index.html
Module type Lwt_throttle.S
val create : rate:int -> max:int -> n:int -> tCreates a rate limiter.
Lwt_throttle.wait limiter channel returns a new promise associated with the given rate limiter and channel.
If the maximum number of pending promises for limiter has not been reached, the promise starts pending. It will be resolved with true at some future time, such that the rate limit of limiter is not exceeded, with respect to other promises in the same channel.
If the maximum number of pending promises has been reached, the returned promise is already resolved with false.
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >